Host/Mcd: Fix boot order so memcard type is set before loading memcards

This commit is contained in:
refractionpcsx2 2023-06-19 21:03:47 +01:00
parent daf50df337
commit 9acb98a2c8
1 changed files with 2 additions and 2 deletions

View File

@ -1136,6 +1136,8 @@ bool VMManager::Initialize(VMBootParameters boot_params)
}
}
FileMcd_EmuOpen();
Console.WriteLn("Opening CDVD...");
if (!DoCDVDopen())
{
@ -1249,8 +1251,6 @@ bool VMManager::Initialize(VMBootParameters boot_params)
}
ScopedGuard close_fw = []() { FWclose(); };
FileMcd_EmuOpen();
// Don't close when we return
close_fw.Cancel();
close_usb.Cancel();