Skip to content

Commit 582b28f

Browse files
author
ejaquay
committed
SDC make SDC_DOS the default for Startup Bank
If the Startup Bank is empty load SDC-DOS.rom by default, this feature used to be hardcoded for Bank 0
1 parent 12deacf commit 582b28f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdc/sdc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ bool LoadRom()
692692
RomName = FlashFile[CurrentBank];
693693
if ((*RomName == '\0') || (strcmp(RomName,"-empty-") == 0)) {
694694
_DLOG("LoadRom bank %d is empty\n",CurrentBank);
695-
if (CurrentBank == 0) {
695+
if (CurrentBank == StartupBank) {
696696
_DLOG("LoadRom loading default SDC-DOS\n");
697697
RomName = "SDC-DOS.ROM";
698698
strncpy(FlashFile[CurrentBank],RomName,MAX_PATH);

0 commit comments

Comments
 (0)