NDSSystem:
- Fix compiler error for Clang (and possibly others): "goto into protected scope". (Regression from r4696.)
This commit is contained in:
parent
bce045de58
commit
7f1805dcc7
|
@ -2622,6 +2622,7 @@ void NDS_Reset()
|
|||
// Create the dummy firmware
|
||||
NDS_CreateDummyFirmware(&CommonSettings.fw_config);
|
||||
|
||||
{
|
||||
//copy the arm9 program to the address specified by rom header
|
||||
u32 src = header->ARM9src;
|
||||
u32 dst = header->ARM9cpy;
|
||||
|
@ -2641,6 +2642,7 @@ void NDS_Reset()
|
|||
dst += 4;
|
||||
src += 4;
|
||||
}
|
||||
}
|
||||
|
||||
//set the cpus to an initial state with their respective programs entrypoints
|
||||
armcpu_init(&NDS_ARM7, header->ARM7exe);
|
||||
|
|
Loading…
Reference in New Issue