From: Oliver Stoeneberg [oliverst@online.de]

Sent: Sunday, May 24, 2009 4:11 AM
To: submit@mamedev.org
Subject: Compilation fix for ARM7 core

This fixes the compilation with ARM7_DEBUG_CORE. It was actually
found by Reijo Tomperi from the cppcheck team after I issued a bug
report.
This commit is contained in:
Aaron Giles 2009-05-28 15:12:42 +00:00
parent 4df2ea5003
commit 57deed92e8

View File

@ -1486,7 +1486,7 @@ static void HandleUMulLong(arm_state *cpustate, UINT32 insn)
rlo = (insn >> 12) & 0xf;
#if ARM7_DEBUG_CORE
if (((insn & 0xf) == 15) || (((insn >> 8) & 0xf) == 15) || (((insn >> 16) & 0xf) == 15) || (((insn >> 12) & 0xf) == 15)
if (((insn & 0xf) == 15) || (((insn >> 8) & 0xf) == 15) || (((insn >> 16) & 0xf) == 15) || (((insn >> 12) & 0xf) == 15))
LOG(("%08x: Illegal use of PC as a register in SMULL opcode\n", R15));
#endif