Various savestate bugfixes

This commit is contained in:
PabloMK7
2025-03-12 00:05:39 +01:00
parent 26ce7e4f28
commit db168cfac4
52 changed files with 318 additions and 69 deletions

View File

@@ -1,4 +1,4 @@
// Copyright 2020 Citra Emulator Project
// Copyright Citra Emulator Project / Azahar Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
@@ -19,3 +19,8 @@ using oarchive = boost::archive::binary_oarchive;
BOOST_CLASS_EXPORT_IMPLEMENT(A) \
BOOST_SERIALIZATION_REGISTER_ARCHIVE(iarchive) \
BOOST_SERIALIZATION_REGISTER_ARCHIVE(oarchive)
#define DEBUG_SERIALIZATION_POINT \
do { \
LOG_DEBUG(Savestate, ""); \
} while (0)

View File

@@ -1,4 +1,4 @@
// Copyright 2014 Citra Emulator Project
// Copyright Citra Emulator Project / Azahar Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
@@ -74,6 +74,7 @@ bool ParseFilterRule(Filter& instance, Iterator begin, Iterator end) {
SUB(Core, Timing) \
SUB(Core, Cheats) \
CLS(Config) \
CLS(Savestate) \
CLS(Debug) \
SUB(Debug, Emulated) \
SUB(Debug, GPU) \

View File

@@ -1,4 +1,4 @@
// Copyright 2023 Citra Emulator Project
// Copyright Citra Emulator Project / Azahar Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
@@ -39,6 +39,7 @@ enum class Class : u8 {
Core_Timing, ///< CoreTiming functions
Core_Cheats, ///< Cheat functions
Config, ///< Emulator configuration
Savestate, ///< Savestates
Debug, ///< Debugging tools
Debug_Emulated, ///< Debug messages from the emulated programs
Debug_GPU, ///< GPU debugging tools

View File

@@ -451,6 +451,7 @@ struct Values {
SwitchableSetting<s32, true> cpu_clock_percentage{100, 5, 400, "cpu_clock_percentage"};
SwitchableSetting<bool> is_new_3ds{true, "is_new_3ds"};
SwitchableSetting<bool> lle_applets{false, "lle_applets"};
SwitchableSetting<bool> deterministic_async_operations{false, "deterministic_async_operations"};
// Data Storage
Setting<bool> use_virtual_sd{true, "use_virtual_sd"};