mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
7f0f37fca7
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. |
||
---|---|---|
.. | ||
aes_util.cpp | ||
aes_util.h | ||
ctr_encryption_layer.cpp | ||
ctr_encryption_layer.h | ||
encryption_layer.cpp | ||
encryption_layer.h | ||
key_manager.cpp | ||
key_manager.h | ||
partition_data_manager.cpp | ||
partition_data_manager.h | ||
sha_util.cpp | ||
sha_util.h | ||
xts_encryption_layer.cpp | ||
xts_encryption_layer.h |