summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/unsp/unspdasm.c
diff options
context:
space:
mode:
author Ryan Holtz <rholtz@batcountryentertainment.com>2012-01-29 17:59:47 +0000
committer Ryan Holtz <rholtz@batcountryentertainment.com>2012-01-29 17:59:47 +0000
commit633fd0d46b9b23ee3cd68c5b0c557a75c07dcf03 (patch)
treed107e406851a97e76120d55695ef0c59cf133941 /src/emu/cpu/unsp/unspdasm.c
parent21f5a0ff638a5f067afe36a8eff01ce8270f51dc (diff)
Fixed disassembly of far jump instructions in the u'nSP core [trap15]
Diffstat (limited to 'src/emu/cpu/unsp/unspdasm.c')
-rw-r--r--src/emu/cpu/unsp/unspdasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/unsp/unspdasm.c b/src/emu/cpu/unsp/unspdasm.c
index aa591533ea5..962cd699005 100644
--- a/src/emu/cpu/unsp/unspdasm.c
+++ b/src/emu/cpu/unsp/unspdasm.c
@@ -207,7 +207,7 @@ CPU_DISASSEMBLE( unsp )
// Far Jump
case 0x2f: case 0x3f: case 0x6f: case 0x7f:
- if (OPA == 7 && OPA == 2)
+ if (OPA == 7 && OP1 == 2)
{
print("goto %06x", ((OPIMM << 16) | imm16) << 1);
}