DSPLLE - small fix

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5221 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Marko Pusljar
2010-03-22 16:32:48 +00:00
parent 11a215567b
commit cac8fa8afc
6 changed files with 80 additions and 81 deletions

View File

@ -270,7 +270,7 @@ bool DSPDisassembler::DisOpcode(const u16 *binbuf, int base_addr, int pass, u16
u32 op2;
// Size 2 - the op has a large immediate.
if ((opc->size & ~P_EXT) == 2)
if (opc->size == 2)
{
op2 = binbuf[(*pc + 1) & 0x0fff];
if (settings_.show_hex)
@ -327,7 +327,7 @@ bool DSPDisassembler::DisOpcode(const u16 *binbuf, int base_addr, int pass, u16
if (extended)
*pc += opc_ext->size;
else
*pc += opc->size & ~P_EXT;
*pc += opc->size;
if (pass == 2)
dest.append(buffer);