1
0
Fork 0
forked from suyu/suyu
suyu/src
Lioncash 7f0f37fca7 partition_data_manager: Make data arrays constexpr
Previously the constructor for all of these would run at program
startup, consuming time before the application can enter main().

This is also particularly dangerous, given the logging system wouldn't
have been initialized properly yet, yet the program would use the logs
to signify an error.

To rectify this, we can replace the literals with constexpr functions
that perform the conversion at compile-time, completely eliminating the
runtime cost of initializing these arrays.
2020-08-06 02:41:58 -04:00
..
audio_core core_timing: Make use of uintptr_t to represent user_data 2020-07-27 21:21:01 -04:00
common partition_data_manager: Make data arrays constexpr 2020-08-06 02:41:58 -04:00
core partition_data_manager: Make data arrays constexpr 2020-08-06 02:41:58 -04:00
input_common GCAdapter: only join worker thread if running & joinable 2020-07-26 14:54:02 -07:00
tests core_timing: Make use of uintptr_t to represent user_data 2020-07-27 21:21:01 -04:00
video_core Merge pull request #4392 from lioncash/guard 2020-07-31 01:08:56 +10:00
web_service Replace externals with Conan (#3735) 2020-05-08 17:09:29 -04:00
yuzu Merge pull request #4263 from lat9nq/fix-screencaps-2 2020-08-03 21:00:14 +10:00
yuzu_cmd Rebase for per game settings 2020-07-17 14:26:14 +10:00
yuzu_tester configuration: Add settings to enable/disable specific CPU optimizations 2020-07-11 14:34:09 +01:00
.clang-format
CMakeLists.txt ipc: Allow all trivially copyable objects to be passed directly into WriteBuffer (#4465) 2020-08-03 07:28:54 -04:00