Core: In deterministic mode, build SD cards with a consistent filename order and dummy timestamps.

This commit is contained in:
Admiral H. Curtiss
2022-06-16 03:59:14 +02:00
parent 1d12e95404
commit a621fdf857
3 changed files with 22 additions and 4 deletions

View File

@ -499,7 +499,7 @@ static void EmuThread(std::unique_ptr<BootParameters> boot, WindowSystemInfo wsi
bool sync_sd_folder = core_parameter.bWii && Config::Get(Config::MAIN_WII_SD_CARD) &&
Config::Get(Config::MAIN_WII_SD_CARD_ENABLE_FOLDER_SYNC);
if (sync_sd_folder)
sync_sd_folder = Common::SyncSDFolderToSDImage();
sync_sd_folder = Common::SyncSDFolderToSDImage(Core::WantsDeterminism());
Common::ScopeGuard sd_folder_sync_guard{[sync_sd_folder] {
if (sync_sd_folder && Config::Get(Config::MAIN_ALLOW_SD_WRITES))