Remove bogus static function declaration in header
This commit is contained in:
parent
eab1fb9583
commit
baccf00674
|
@ -2630,6 +2630,16 @@ bool NDS_FakeBoot()
|
|||
return true;
|
||||
}
|
||||
|
||||
static void NDS_CurrentCPUInfoToNDSError(NDSError &ndsError)
|
||||
{
|
||||
ndsError.programCounterARM9 = NDS_ARM9.R[15];
|
||||
ndsError.instructionARM9 = NDS_ARM9.instruction;
|
||||
ndsError.instructionAddrARM9 = NDS_ARM9.instruct_adr;
|
||||
ndsError.programCounterARM7 = NDS_ARM7.R[15];
|
||||
ndsError.instructionARM7 = NDS_ARM7.instruction;
|
||||
ndsError.instructionAddrARM7 = NDS_ARM7.instruct_adr;
|
||||
}
|
||||
|
||||
bool _HACK_DONT_STOPMOVIE = false;
|
||||
void NDS_Reset()
|
||||
{
|
||||
|
@ -3161,16 +3171,6 @@ NDSError NDS_GetLastError()
|
|||
return _lastNDSError;
|
||||
}
|
||||
|
||||
static void NDS_CurrentCPUInfoToNDSError(NDSError &ndsError)
|
||||
{
|
||||
ndsError.programCounterARM9 = NDS_ARM9.R[15];
|
||||
ndsError.instructionARM9 = NDS_ARM9.instruction;
|
||||
ndsError.instructionAddrARM9 = NDS_ARM9.instruct_adr;
|
||||
ndsError.programCounterARM7 = NDS_ARM7.R[15];
|
||||
ndsError.instructionARM7 = NDS_ARM7.instruction;
|
||||
ndsError.instructionAddrARM7 = NDS_ARM7.instruct_adr;
|
||||
}
|
||||
|
||||
void emu_halt(EmuHaltReasonCode reasonCode, NDSErrorTag errorTag)
|
||||
{
|
||||
switch (reasonCode)
|
||||
|
|
|
@ -192,7 +192,6 @@ struct NDS_header
|
|||
|
||||
extern void debug();
|
||||
NDSError NDS_GetLastError();
|
||||
static void NDS_CurrentCPUInfoToNDSError(NDSError &ndsError);
|
||||
void emu_halt(EmuHaltReasonCode reasonCode, NDSErrorTag errorTag);
|
||||
|
||||
extern u64 nds_timer;
|
||||
|
|
Loading…
Reference in New Issue