summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Brian Troha <briantro@users.noreply.github.com>2009-07-09 23:08:05 +0000
committer Brian Troha <briantro@users.noreply.github.com>2009-07-09 23:08:05 +0000
commit95ce94fbfc87712b66b56d439e044299a8e86e8b (patch)
tree7f3917d6cb96049acbe8808738bc1049146c85c0 /src
parent7fde2018f83e2352bf7c000c5c4a1b3a62c5d35d (diff)
Fixed a HD6309 core bug/typo in the divq_im opcode. [Romain Tisserand]
Diffstat (limited to 'src')
-rw-r--r--src/emu/cpu/hd6309/6309ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/hd6309/6309ops.c b/src/emu/cpu/hd6309/6309ops.c
index 85b336159ca..8e40c3ff5d8 100644
--- a/src/emu/cpu/hd6309/6309ops.c
+++ b/src/emu/cpu/hd6309/6309ops.c
@@ -2615,7 +2615,7 @@ OP_HANDLER( divq_im )
if( W & 0x0001 )
SEC;
- if ( (v > 32768) || (v < -35767) ) /* soft overflow */
+ if ( (v > 32768) || (v < -32767) ) /* soft overflow */
{
SEV;