Move declaration of nds_debug_* functions in header.
This commit is contained in:
parent
8a083e5acb
commit
2ecd8e296b
|
@ -417,6 +417,10 @@ void NDS_SkipNextFrame();
|
|||
#define NDS_SkipFrame(s) if(s) NDS_SkipNext2DFrame();
|
||||
void NDS_OmitFrameSkip(int force=0);
|
||||
|
||||
void NDS_debug_break();
|
||||
void NDS_debug_continue();
|
||||
void NDS_debug_step();
|
||||
|
||||
void execHardware_doAllDma(EDMAMode modeNum);
|
||||
|
||||
template<bool FORCE> void NDS_exec(s32 nb = 560190<<1);
|
||||
|
|
|
@ -382,14 +382,12 @@ BOOL CALLBACK ViewDisasm_ARM7Proc (HWND hwnd, UINT message, WPARAM wParam, LPARA
|
|||
return 1;
|
||||
case IDC_STEP:
|
||||
{
|
||||
extern void NDS_debug_step();
|
||||
NDS_debug_step();
|
||||
}
|
||||
return 1;
|
||||
|
||||
case IDC_CONTINUE:
|
||||
{
|
||||
extern void NDS_debug_continue();
|
||||
NDS_debug_continue();
|
||||
}
|
||||
return 1;
|
||||
|
@ -632,13 +630,11 @@ BOOL CALLBACK ViewDisasm_ARM9Proc (HWND hwnd, UINT message, WPARAM wParam, LPARA
|
|||
return 1;
|
||||
case IDC_STEP:
|
||||
{
|
||||
extern void NDS_debug_step();
|
||||
NDS_debug_step();
|
||||
}
|
||||
return 1;
|
||||
case IDC_CONTINUE:
|
||||
{
|
||||
extern void NDS_debug_continue();
|
||||
NDS_debug_continue();
|
||||
}
|
||||
return 1;
|
||||
|
@ -741,4 +737,4 @@ FORCEINLINE void DisassemblerTools_Refresh()
|
|||
|
||||
//these templates needed to be instantiated manually
|
||||
template void DisassemblerTools_Refresh<0>();
|
||||
template void DisassemblerTools_Refresh<1>();
|
||||
template void DisassemblerTools_Refresh<1>();
|
||||
|
|
Loading…
Reference in New Issue