DSP: Unbreak disassembler (broken since 2866), commenting, logging changes, minor cleanup

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2878 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2009-04-05 15:46:47 +00:00
parent 405480342a
commit a583950f82
20 changed files with 94 additions and 84 deletions

View File

@ -139,18 +139,14 @@ bool dsp_dmem_write(u16 addr, u16 val)
return(true);
}
u16 dsp_fetch_code(void)
u16 dsp_fetch_code()
{
u16 opc = dsp_imem_read(g_dsp.pc);
g_dsp.pc++;
return(opc);
return opc;
}
u16 dsp_peek_code(void)
{
return(dsp_imem_read(g_dsp.pc));
return dsp_imem_read(g_dsp.pc);
}