mirror of
https://github.com/holub/mame
synced 2025-05-25 23:35:26 +03:00
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:
parent
4df2ea5003
commit
57deed92e8
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user