yuzu/src/core
Lioncash b77430df70 apm/controller: Make SetPerformanceConfiguration() use an array of pairs over a map
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 16:13:14 -04:00
..
arm Core_Timing: Address Feedback and suppress warnings. 2019-10-11 14:44:14 -04:00
crypto [crypto] Use IsAllZeroArray helper function 2019-10-02 19:20:45 +03:00
file_sys Merge pull request #2897 from DarkLordZach/oss-ext-fonts-1 2019-10-14 15:13:41 -04:00
frontend
gdbstub core: Remove Core::CurrentProcess() 2019-10-06 13:53:12 -04:00
hle apm/controller: Make SetPerformanceConfiguration() use an array of pairs over a map 2019-10-17 16:13:14 -04:00
loader core/loader: Track the NSO build ID of the current process 2019-09-30 17:21:53 -04:00
memory dmnt_cheat_vm: Default initialize structure values 2019-09-21 22:43:49 -04:00
tools
CMakeLists.txt externals: Move OSS font data to file_sys in core 2019-10-13 13:46:10 -04:00
constants.cpp
constants.h
core_cpu.cpp Core Timing: Rework Core Timing to run all cores evenly. 2019-10-09 12:30:31 -04:00
core_cpu.h
core_timing_util.cpp
core_timing_util.h
core_timing.cpp Core_Timing: Address Remaining feedback. 2019-10-12 07:26:38 -04:00
core_timing.h Core_Timing: Address Feedback and suppress warnings. 2019-10-11 14:44:14 -04:00
core.cpp Merge pull request #2912 from FernandoS27/async-fixes 2019-10-16 10:34:48 -04:00
core.h Merge pull request #2654 from DarkLordZach/lm-log-rewrite 2019-10-08 20:23:13 -04:00
cpu_core_manager.cpp Core_Timing: Address Feedback and suppress warnings. 2019-10-11 14:44:14 -04:00
cpu_core_manager.h
hardware_interrupt_manager.cpp
hardware_interrupt_manager.h
memory_setup.h
memory.cpp core: Remove Core::CurrentProcess() 2019-10-06 13:53:12 -04:00
memory.h
perf_stats.cpp Address review comments 2019-09-10 12:57:45 +02:00
perf_stats.h Address review comments 2019-09-10 12:57:45 +02:00
reporter.cpp lm: Flush manager output on core shutdown 2019-09-22 12:34:55 -04:00
reporter.h lm: Flush manager output on core shutdown 2019-09-22 12:34:55 -04:00
settings.cpp settings: Add option to set BCAT backend 2019-09-30 17:21:53 -04:00
settings.h settings: Add option to set BCAT backend 2019-09-30 17:21:53 -04:00
telemetry_session.cpp yuzu: Remove setting for using Unicorn 2019-07-11 05:59:13 -04:00
telemetry_session.h