From 065674a19f101a38ab53a9c46beef1276ff2b2ff Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Wed, 5 Feb 2020 00:13:13 -0700 Subject: [PATCH] Fix DS game dumping being shown on Slot-1 flashcards --- arm9/source/driveMenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm9/source/driveMenu.cpp b/arm9/source/driveMenu.cpp index 589fc28..1fdf536 100644 --- a/arm9/source/driveMenu.cpp +++ b/arm9/source/driveMenu.cpp @@ -228,7 +228,7 @@ void driveMenu (void) { dmMaxCursors++; dmAssignedOp[dmMaxCursors] = 6; } - if (((*(u32*)io_dldi_data+(0x64/4)) & FEATURE_SLOT_GBA) || !(REG_SCFG_MC & BIT(0))) { + if ((io_dldi_data->ioInterface.features & FEATURE_SLOT_GBA) || (isDSiMode() && !(REG_SCFG_MC & BIT(0)))) { dmMaxCursors++; dmAssignedOp[dmMaxCursors] = 4; }