Fixed another bug.

This commit is contained in:
luigi__ 2009-03-05 22:51:13 +00:00
parent 345cf53d4a
commit ef3e819215
1 changed files with 2 additions and 0 deletions

View File

@ -950,6 +950,7 @@ void NDS_Reset( void)
fread(MMU.ARM7_BIOS,1,16384,inf); fread(MMU.ARM7_BIOS,1,16384,inf);
fclose(inf); fclose(inf);
if(CommonSettings.SWIFromBIOS == true) NDS_ARM7.swi_tab = 0; if(CommonSettings.SWIFromBIOS == true) NDS_ARM7.swi_tab = 0;
else NDS_ARM7.swi_tab = ARM7_swi_tab;
INFO("ARM7 BIOS is loaded.\n"); INFO("ARM7 BIOS is loaded.\n");
} else { } else {
NDS_ARM7.swi_tab = ARM7_swi_tab; NDS_ARM7.swi_tab = ARM7_swi_tab;
@ -975,6 +976,7 @@ void NDS_Reset( void)
fread(ARM9Mem.ARM9_BIOS,1,4096,inf); fread(ARM9Mem.ARM9_BIOS,1,4096,inf);
fclose(inf); fclose(inf);
if(CommonSettings.SWIFromBIOS == true) NDS_ARM9.swi_tab = 0; if(CommonSettings.SWIFromBIOS == true) NDS_ARM9.swi_tab = 0;
else NDS_ARM9.swi_tab = ARM9_swi_tab;
INFO("ARM9 BIOS is loaded.\n"); INFO("ARM9 BIOS is loaded.\n");
} else { } else {
NDS_ARM9.swi_tab = ARM9_swi_tab; NDS_ARM9.swi_tab = ARM9_swi_tab;