mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
deactivate some debugging code I left in..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3437 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -338,10 +338,13 @@ void Jit64::Cleanup()
|
|||||||
{
|
{
|
||||||
if (jo.optimizeGatherPipe && js.fifoBytesThisBlock > 0)
|
if (jo.optimizeGatherPipe && js.fifoBytesThisBlock > 0)
|
||||||
ABI_CallFunction((void *)&GPFifo::CheckGatherPipe);
|
ABI_CallFunction((void *)&GPFifo::CheckGatherPipe);
|
||||||
|
|
||||||
|
#ifdef NAN_CHECK
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
if (GetAsyncKeyState(VK_LSHIFT))
|
if (GetAsyncKeyState(VK_LSHIFT))
|
||||||
ABI_CallFunction(thunks.ProtectFunction((void *)&CheckForNans, 0));
|
ABI_CallFunction(thunks.ProtectFunction((void *)&CheckForNans, 0));
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void Jit64::WriteExit(u32 destination, int exit_num)
|
void Jit64::WriteExit(u32 destination, int exit_num)
|
||||||
@ -497,14 +500,11 @@ const u8* Jit64::DoJit(u32 em_address, PPCAnalyst::CodeBuffer *code_buffer, JitB
|
|||||||
// get start tic
|
// get start tic
|
||||||
PROFILER_QUERY_PERFORMACE_COUNTER(&b->ticStart);
|
PROFILER_QUERY_PERFORMACE_COUNTER(&b->ticStart);
|
||||||
}
|
}
|
||||||
//#if defined(_DEBUG) || defined(DEBUGFAST)
|
#if defined(_DEBUG) || defined(DEBUGFAST) || defined(NAN_CHECK)
|
||||||
// should help logged stacktraces become more accurate
|
// should help logged stacktraces become more accurate
|
||||||
MOV(32, M(&PC), Imm32(js.blockStart));
|
MOV(32, M(&PC), Imm32(js.blockStart));
|
||||||
//#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// if (em_address == 0x801e4188)
|
|
||||||
// INT3();
|
|
||||||
//Start up the register allocators
|
//Start up the register allocators
|
||||||
//They use the information in gpa/fpa to preload commonly used registers.
|
//They use the information in gpa/fpa to preload commonly used registers.
|
||||||
gpr.Start(js.gpa);
|
gpr.Start(js.gpa);
|
||||||
|
Reference in New Issue
Block a user