Skip to content

Commit

Permalink
- Add bypass instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Extrems committed Oct 15, 2020
1 parent db7c168 commit 5d1c662
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions cube/swiss/source/swiss.c
Original file line number Diff line number Diff line change
Expand Up @@ -1661,8 +1661,14 @@ void load_file()
if(devices[DEVICE_CUR]->features & FEAT_BOOT_GCM)
load_game();
else {
uiDrawObj_t *msgBox = DrawPublish(DrawMessageBox(D_WARN, "Device does not support game boot."));
sleep(2);
uiDrawObj_t *msgBox = NULL;
if(devices[DEVICE_CUR] == &__device_sd_a || devices[DEVICE_CUR] == &__device_sd_b || devices[DEVICE_CUR] == &__device_sd_c) {
msgBox = DrawPublish(DrawMessageBox(D_WARN, "Device does not support game boot.\nSet EXI Speed to 16 MHz to bypass."));
}
else {
msgBox = DrawPublish(DrawMessageBox(D_WARN, "Device does not support game boot."));
}
sleep(5);
DrawDispose(msgBox);
}
return;
Expand Down

0 comments on commit 5d1c662

Please sign in to comment.