mirror of
https://github.com/mnaberez/py65.git
synced 2025-01-18 01:29:43 +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…
x
Reference in New Issue
Block a user