3
0
Fork 0
forked from suyu/suyu
suyu/src/core
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
..
arm configure_cpu: Show/Hide debugging options 2020-07-11 16:38:38 +01:00
crypto partition_data_manager: Make data arrays constexpr 2020-08-06 02:41:58 -04:00
file_sys xts_archive: Check if the file is nullptr prior to parsing 2020-07-29 06:50:30 -04:00
frontend configuration: implement per-game configurations (#4098) 2020-07-09 22:42:09 -04:00
gdbstub General: Cleanup legacy code. 2020-06-27 11:36:05 -04:00
hle ipc: Allow all trivially copyable objects to be passed directly into WriteBuffer (#4465) 2020-08-03 07:28:54 -04:00
loader loader: nro: Fix process initialization using ProgramMetadata default. 2020-04-20 18:19:45 -04:00
memory core_timing: Make use of uintptr_t to represent user_data 2020-07-27 21:21:01 -04:00
network network: add missing include for BSDs 2020-07-22 22:10:15 +00:00
tools core_timing: Make use of uintptr_t to represent user_data 2020-07-27 21:21:01 -04:00
CMakeLists.txt core/network: Add network abstraction 2020-07-19 04:12:40 -03:00
constants.cpp constants: Extract backup JPEG used by account services 2019-06-07 17:46:57 -04:00
constants.h constants: Add missing <array> include 2020-07-16 21:43:20 -04:00
core.cpp device_memory: Remove unused system member 2020-07-27 23:37:49 -04:00
core.h Core/Common: Address Feedback. 2020-06-27 18:20:06 -04:00
core_timing.cpp core_timing: Make use of uintptr_t to represent user_data 2020-07-27 21:21:01 -04:00
core_timing.h core_timing: Make use of uintptr_t to represent user_data 2020-07-27 21:21:01 -04:00
core_timing_util.cpp SingleCore: Use Cycle Timing instead of Host Timing. 2020-06-27 11:36:01 -04:00
core_timing_util.h SingleCore: Use Cycle Timing instead of Host Timing. 2020-06-27 11:36:01 -04:00
cpu_manager.cpp cpu_manager: Remove redundant std::function declarations 2020-07-27 21:57:05 -04:00
cpu_manager.h cpu_manager: Mark function getters as static 2020-07-16 13:30:56 -04:00
device_memory.cpp device_memory: Remove unused system member 2020-07-27 23:37:49 -04:00
device_memory.h device_memory: Remove unused system member 2020-07-27 23:37:49 -04:00
hardware_interrupt_manager.cpp core_timing: Make use of uintptr_t to represent user_data 2020-07-27 21:21:01 -04:00
hardware_interrupt_manager.h core_timing: Use better reference tracking for EventType. (#3159) 2019-11-26 21:48:56 -05:00
hardware_properties.h General: Add Asserts 2020-06-27 11:35:21 -04:00
memory.cpp memory: Set page-table pointers before setting attribute = Memory 2020-07-05 12:54:19 +01:00
memory.h ARM/Memory: Correct Exclusive Monitor and Implement Exclusive Memory Writes. 2020-06-27 11:35:37 -04:00
perf_stats.cpp configuration: implement per-game configurations (#4098) 2020-07-09 22:42:09 -04:00
perf_stats.h Address review comments 2019-09-10 12:57:45 +02:00
reporter.cpp Replace externals with Conan (#3735) 2020-05-08 17:09:29 -04:00
reporter.h service: Update function tables 2020-04-20 15:53:49 -04:00
settings.cpp configure_graphics: Remove Force 30 FPS mode 2020-07-28 08:07:26 -04:00
settings.h configure_graphics: Remove Force 30 FPS mode 2020-07-28 08:07:26 -04:00
telemetry_session.cpp Rebase for per game settings 2020-07-17 14:26:14 +10:00
telemetry_session.h core/telemetry_session: Remove usages of the global system accessor 2019-05-28 22:28:15 -04:00