Skip to content

Commit

Permalink
Only detect GBA cart ejection when running from Slot-1
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Mar 27, 2024
1 parent 1a3c42e commit ab04f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arm9/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void vblankHandler (void) {
}

// Check if GBA cart ejected
if(isRegularDS && *(u8*)(0x080000B2) != 0x96 && romTitle[1][0] != '\0') {
if(isRegularDS && (io_dldi_data->ioInterface.features & FEATURE_SLOT_NDS) && *(u8*)(0x080000B2) != 0x96 && romTitle[1][0] != '\0') {
romTitle[1][0] = '\0';
romSize[1] = 0;
}
Expand Down

0 comments on commit ab04f98

Please sign in to comment.