From 8849e673ed02add745d59636e26c9e3922152f70 Mon Sep 17 00:00:00 2001 From: VolcaEM <63682805+VolcaEM@users.noreply.github.com> Date: Fri, 26 Jun 2020 21:41:18 +0200 Subject: [PATCH] apm: Add comments to function table(s) --- src/core/hle/service/apm/interface.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/core/hle/service/apm/interface.cpp b/src/core/hle/service/apm/interface.cpp index 06f0f8edd7..aaab8e98c2 100644 --- a/src/core/hle/service/apm/interface.cpp +++ b/src/core/hle/service/apm/interface.cpp @@ -16,7 +16,7 @@ public: static const FunctionInfo functions[] = { {0, &ISession::SetPerformanceConfiguration, "SetPerformanceConfiguration"}, {1, &ISession::GetPerformanceConfiguration, "GetPerformanceConfiguration"}, - {2, nullptr, "SetCpuOverclockEnabled"}, + {2, nullptr, "SetCpuOverclockEnabled"}, // 8.0.0+ }; RegisterHandlers(functions); } @@ -55,7 +55,7 @@ APM::APM(std::shared_ptr apm, Controller& controller, const char* name) static const FunctionInfo functions[] = { {0, &APM::OpenSession, "OpenSession"}, {1, &APM::GetPerformanceMode, "GetPerformanceMode"}, - {6, nullptr, "IsCpuOverclockEnabled"}, + {6, nullptr, "IsCpuOverclockEnabled"}, // 7.0.0+ }; RegisterHandlers(functions); } @@ -85,9 +85,9 @@ APM_Sys::APM_Sys(Controller& controller) : ServiceFramework{"apm:sys"}, controll {2, nullptr, "GetThrottlingState"}, {3, nullptr, "GetLastThrottlingState"}, {4, nullptr, "ClearLastThrottlingState"}, - {5, nullptr, "LoadAndApplySettings"}, - {6, &APM_Sys::SetCpuBoostMode, "SetCpuBoostMode"}, - {7, &APM_Sys::GetCurrentPerformanceConfiguration, "GetCurrentPerformanceConfiguration"}, + {5, nullptr, "LoadAndApplySettings"}, // 5.0.0+ + {6, &APM_Sys::SetCpuBoostMode, "SetCpuBoostMode"}, // 7.0.0+ + {7, &APM_Sys::GetCurrentPerformanceConfiguration, "GetCurrentPerformanceConfiguration"}, // 7.0.0+ }; // clang-format on