mirror of
https://github.com/mnaberez/py65.git
synced 2024-11-19 06:31:08 +00:00
Fixed bad merge with Ed's ADC overflow patch.
This commit is contained in:
parent
28936341bb
commit
7b8c56107a
@ -308,7 +308,7 @@ class MPU:
|
|||||||
self.flags |= self.OVERFLOW
|
self.flags |= self.OVERFLOW
|
||||||
data = result
|
data = result
|
||||||
if data > 255:
|
if data > 255:
|
||||||
self.flags|=self.OVERFLOW+self.CARRY
|
self.flags |= self.CARRY
|
||||||
data &=255
|
data &=255
|
||||||
if data == 0:
|
if data == 0:
|
||||||
self.flags |= self.ZERO
|
self.flags |= self.ZERO
|
||||||
|
Loading…
Reference in New Issue
Block a user