mirror of
https://github.com/mnaberez/py65.git
synced 2025-08-07 07:29:02 +00:00
Fixed bad merge with Ed's ADC overflow patch.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user