Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-12-08 | core: Remove unnecessary enum casts in log calls | Lioncash | 1 | -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-16 | settings: Preparation for per-game input settings | Morph | 1 | -1/+2 | |
2019-10-17 | apm/controller: Make SetPerformanceConfiguration() use an array of pairs over a map | Lioncash | 1 | -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-17 | apm/controller: Make GetCurrentPerformanceMode() a const member function | Lioncash | 1 | -1/+1 | |
This doesn't modify instance state, so it can be made const qualified. | |||||
2019-10-05 | service/apm: Silence -Wunused and -Wreorder | ReinUsesLisp | 1 | -1/+2 | |
2019-06-29 | apm: Add Controller class to manage speed data and application | Zach Hilman | 1 | -0/+68 | |