From dee4ba94b6d958b90527043996cd60ec0c686e43 Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Sun, 16 Feb 2020 23:31:03 -0700 Subject: [PATCH] Don't show NDS GAMECARD in DSiWarehax or CycloDSi --- arm9/source/driveMenu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arm9/source/driveMenu.cpp b/arm9/source/driveMenu.cpp index 902a721..cf0ac87 100644 --- a/arm9/source/driveMenu.cpp +++ b/arm9/source/driveMenu.cpp @@ -52,6 +52,7 @@ static int dmMaxCursors = -1; static u8 gbaFixedValue = 0; +extern bool arm7SCFGLocked; extern bool expansionPakFound; extern PrintConsole topConsole, bottomConsole; @@ -244,7 +245,7 @@ void driveMenu (void) { } if (expansionPakFound || (io_dldi_data->ioInterface.features & FEATURE_SLOT_GBA) - || (isDSiMode() && !(REG_SCFG_MC & BIT(0)))) { + || (isDSiMode() && !arm7SCFGLocked && !(REG_SCFG_MC & BIT(0)))) { dmMaxCursors++; dmAssignedOp[dmMaxCursors] = 4; }