#pragma once #include #include namespace n64 { struct Core; } using namespace nlohmann; struct Settings { Settings(); ~Settings(); [[nodiscard]] FORCE_INLINE float GetVolumeL() const { return volumeL; }; [[nodiscard]] FORCE_INLINE float GetVolumeR() const { return volumeR; }; void RenderWidget(bool& show); private: float volumeL, volumeR; float oldVolumeL, oldVolumeR; bool lockChannels = true; bool mute = false; json settings; };