Skip to content

Commit 6dd3a37

Browse files
committed
Fix oopsie
1 parent 595bebd commit 6dd3a37

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/core/sio.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,13 +857,15 @@ void PCSX::SIO::FormatMcdBlock(int mcd, int block) {
857857
void PCSX::SIO::SaveMcd(int mcd) {
858858
const auto data = GetMcdData(mcd);
859859
switch (mcd) {
860-
case 1:
860+
case 1: {
861861
const auto path = PCSX::g_emulator->settings.get<PCSX::Emulator::SettingMcd1>().string();
862862
SaveMcd(path, data, 0, MCD_SIZE);
863863
break;
864-
case 2:
864+
}
865+
case 2: {
865866
const auto path = PCSX::g_emulator->settings.get<PCSX::Emulator::SettingMcd2>().string();
866867
SaveMcd(path, data, 0, MCD_SIZE);
867868
break;
869+
}
868870
}
869871
}

0 commit comments

Comments
 (0)