diff options
author | bunnei <bunneidev@gmail.com> | 2019-10-06 02:41:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-06 02:41:20 +0200 |
commit | deecd7f074a0547b8fc08a33fdc547eb63859e3e (patch) | |
tree | d70efa81b1824d2dc351b7355d5016e75027ed8f /src/core/hle/service/apm/controller.h | |
parent | Merge pull request #2943 from DarkLordZach/azure-titlebars-v2 (diff) | |
parent | audio/audout_u: Change formatting for old clang-format versions (diff) | |
download | yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.gz yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.bz2 yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.lz yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.xz yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.zst yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/apm/controller.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/apm/controller.h b/src/core/hle/service/apm/controller.h index 8ac80eaea..454caa6eb 100644 --- a/src/core/hle/service/apm/controller.h +++ b/src/core/hle/service/apm/controller.h @@ -50,7 +50,7 @@ enum class PerformanceMode : u8 { // system during times of high load -- this simply maps to different PerformanceConfigs to use. class Controller { public: - Controller(Core::Timing::CoreTiming& core_timing); + explicit Controller(Core::Timing::CoreTiming& core_timing); ~Controller(); void SetPerformanceConfiguration(PerformanceMode mode, PerformanceConfiguration config); @@ -62,9 +62,9 @@ public: private: void SetClockSpeed(u32 mhz); - std::map<PerformanceMode, PerformanceConfiguration> configs; + [[maybe_unused]] Core::Timing::CoreTiming& core_timing; - Core::Timing::CoreTiming& core_timing; + std::map<PerformanceMode, PerformanceConfiguration> configs; }; } // namespace Service::APM |