mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
Fixed a HD6309 core bug/typo in the divq_im opcode. [Romain Tisserand]
This commit is contained in:
parent
7fde2018f8
commit
95ce94fbfc
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user