mirror of
https://github.com/mnaberez/py65.git
synced 2024-11-18 15:06:35 +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
|
||||
data = result
|
||||
if data > 255:
|
||||
self.flags|=self.OVERFLOW+self.CARRY
|
||||
self.flags |= self.CARRY
|
||||
data &=255
|
||||
if data == 0:
|
||||
self.flags |= self.ZERO
|
||||
|
Loading…
Reference in New Issue
Block a user