Got rid of loop step + added some comments

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2928 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2009-04-08 14:11:23 +00:00
parent 65daec3554
commit 7dccebfef2
4 changed files with 80 additions and 43 deletions

View File

@ -207,21 +207,6 @@ u16 gdsp_read_cr()
return g_dsp.cr;
}
// special loop step.. because exception in loop or loopi fails
// dunno how we have to fix it
// atm we execute this instructions directly inside the loop command
// so it cant be interrupted by an exception.
// TODO - we really should figure this out - on the real DSP, exception inside
// loop should work. Think through the stack management and how it works
// with exceptions and in loops.
void gdsp_loop_step()
{
g_dsp.err_pc = g_dsp.pc;
u16 opc = dsp_fetch_code();
ComputeInstruction(UDSPInstruction(opc));
}
void gdsp_step()
{
g_dsp.step_counter++;