mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
just some simple profiling for the LLE DSP
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@901 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -228,11 +228,25 @@ void gdsp_step()
|
||||
|
||||
if (g_dsp.pc == 0x80e7)
|
||||
{
|
||||
g_dsp.pc = HLE_ROM_80E7_81F8();
|
||||
//g_dsp.pc = HLE_ROM_80E7_81F8();
|
||||
}
|
||||
|
||||
g_dsp.err_pc = g_dsp.pc;
|
||||
|
||||
#if PROFILE
|
||||
ProfilerAddDelta(g_dsp.err_pc, 1);
|
||||
if (g_dsp.step_counter == 1)
|
||||
{
|
||||
ProfilerInit();
|
||||
}
|
||||
|
||||
if ((g_dsp.step_counter & 0xFFFFF) == 0)
|
||||
{
|
||||
ProfilerDump(g_dsp.step_counter);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
uint16 opc = dsp_fetch_code();
|
||||
dsp_op[opc >> 12](opc);
|
||||
|
||||
|
Reference in New Issue
Block a user