Skip to content

Commit

Permalink
- Clear disc header when backing out.
Browse files Browse the repository at this point in the history
  • Loading branch information
Extrems committed Dec 23, 2020
1 parent c936708 commit cb8ca47
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cube/swiss/source/swiss.c
Expand Up @@ -1676,8 +1676,10 @@ void load_file()
return;
}
if(endsWith(fileName,".iso") || endsWith(fileName,".gcm")) {
if(devices[DEVICE_CUR]->features & FEAT_BOOT_GCM)
if(devices[DEVICE_CUR]->features & FEAT_BOOT_GCM) {
load_game();
memset(&GCMDisk, 0, sizeof(DiskHeader));
}
else {
uiDrawObj_t *msgBox = NULL;
if(devices[DEVICE_CUR] == &__device_sd_a || devices[DEVICE_CUR] == &__device_sd_b || devices[DEVICE_CUR] == &__device_sd_c) {
Expand Down

0 comments on commit cb8ca47

Please sign in to comment.