mirror of
https://github.com/jtauber/applepy.git
synced 2024-12-29 00:30:44 +00:00
fixed missing self
This commit is contained in:
parent
f3e0cef441
commit
96ad7be994
@ -336,9 +336,9 @@ class Memory:
|
||||
def write_byte(self, address, value):
|
||||
if address < 0xC000:
|
||||
self.ram.write_byte(address, value)
|
||||
if 0x400 <= address < 0x800 and display:
|
||||
if 0x400 <= address < 0x800 and self.display:
|
||||
self.display.update(address, value)
|
||||
if 0x2000 <= address < 0x5FFF and display:
|
||||
if 0x2000 <= address < 0x5FFF and self.display:
|
||||
self.display.update(address, value)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user