Skip to content

Commit

Permalink
Manual: Re-enable SD removal screen
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Aug 22, 2024
1 parent 8ebfd4c commit 24d19ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions manual/arm7/source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,15 +140,15 @@ int main() {
if ((REG_KEYINPUT & (KEY_SELECT | KEY_START | KEY_L | KEY_R)) == 0) {
exitflag = true;
}
/*if (isDSiMode()) {
if (isDSiMode()) {
if (SD_IRQ_STATUS & BIT(4)) {
status = (status & ~SD_MASK) | ((2 << SD_OFF) & SD_MASK);
fifoSendValue32(FIFO_USER_03, status);
} else if (SD_IRQ_STATUS & BIT(3)) {
status = (status & ~SD_MASK) | ((1 << SD_OFF) & SD_MASK);
fifoSendValue32(FIFO_USER_03, status);
}
}*/
}
if (fifoCheckValue32(FIFO_USER_02)) {
ReturntoDSiMenu();
}
Expand Down
2 changes: 1 addition & 1 deletion manual/arm9/source/errorScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static int timeTillChangeToNonExtendedImage = 0;
static bool showNonExtendedImage = false;

void checkSdEject(void) {
/*if (!ms().sdRemoveDetect)*/ return;
if (!ms().sdRemoveDetect) return;

if (sys().sdStatus() == SystemDetails::ESDStatus::SDOk || !isDSiMode() || !sdFound()) {
if (!showNonExtendedImage) {
Expand Down

0 comments on commit 24d19ec

Please sign in to comment.