mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Core/Boot: Refactor storage of boot-to-savestate data into a separate class.
This commit is contained in:
@ -479,8 +479,10 @@ static void EmuThread(std::unique_ptr<BootParameters> boot, WindowSystemInfo wsi
|
||||
Keyboard::LoadConfig();
|
||||
}
|
||||
|
||||
const std::optional<std::string> savestate_path = boot->savestate_path;
|
||||
const bool delete_savestate = boot->delete_savestate;
|
||||
BootSessionData boot_session_data = std::move(boot->boot_session_data);
|
||||
const std::optional<std::string>& savestate_path = boot_session_data.GetSavestatePath();
|
||||
const bool delete_savestate =
|
||||
boot_session_data.GetDeleteSavestate() == DeleteSavestateAfterBoot::Yes;
|
||||
|
||||
// Load and Init Wiimotes - only if we are booting in Wii mode
|
||||
bool init_wiimotes = false;
|
||||
|
Reference in New Issue
Block a user