summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/apm/apm_controller.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-08-23general: Use console mode helper across projectlat9nq1-3/+1
2023-08-22general: Convert use_docked_mode to an enumerationlat9nq1-2/+4
Allows some special interactions with it in the Qt frontend.
2023-02-14remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistencyarades791-1/+1
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14add static lifetime to constexpr values to force compile time evaluation where possiblearades791-1/+1
Signed-off-by: arades79 <scravers@protonmail.com>
2022-09-01Demote services from warning/info to debug to reduce log spam:Kelebek11-1/+1
GetCurrentFocusState SetClockSpeed EnableSixAxisSensorUnalteredPassthrough IsSixAxisSensorUnalteredPassthroughEnabled Get, GetOld SetAndWait, SetAndWaitOld IocParam IocFree
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-3/+2
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-02-22service: am: Update enum names to match documentationNarr the Reg1-5/+5
2021-07-14service: Append service name prefix to common filenamesMorph1-1/+1
2021-05-16core: Make variable shadowing a compile-time errorLioncash1-5/+5
Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
2021-04-15common: Move settings to common from core.bunnei1-1/+1
- Removes a dependency on core and input_common from common.
2020-12-08core: Remove unnecessary enum casts in log callsLioncash1-2/+1
Follows the video core PR. fmt doesn't require casts for enum classes anymore, so we can remove quite a few casts.
2020-11-16settings: Preparation for per-game input settingsMorph1-1/+2
2019-10-17apm/controller: Make SetPerformanceConfiguration() use an array of pairs over a mapLioncash1-14/+34
While a map is an OK way to do lookups (and usually recommended in most cases), this is a map that lives for the entire duration of the program and only deallocates its contents when the program terminates. Given the total size of the map is quite small, we can simply use a std::array of pairs and utilize std::find_if to perform the same behavior without loss of performance. This eliminates a static constructor and places the data into the read-only segment. While we're at it, we can also handle malformed inputs instead of directly dereferencing the resulting iterator.
2019-10-17apm/controller: Make GetCurrentPerformanceMode() a const member functionLioncash1-1/+1
This doesn't modify instance state, so it can be made const qualified.
2019-10-05service/apm: Silence -Wunused and -WreorderReinUsesLisp1-1/+2
2019-06-29apm: Add Controller class to manage speed data and applicationZach Hilman1-0/+68