mirror of
https://github.com/jtauber/applepy.git
synced 2025-01-16 13:31:22 +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):
|
def write_byte(self, address, value):
|
||||||
if address < 0xC000:
|
if address < 0xC000:
|
||||||
self.ram.write_byte(address, value)
|
self.ram.write_byte(address, value)
|
||||||
if 0x400 <= address < 0x800 and display:
|
if 0x400 <= address < 0x800 and self.display:
|
||||||
self.display.update(address, value)
|
self.display.update(address, value)
|
||||||
if 0x2000 <= address < 0x5FFF and display:
|
if 0x2000 <= address < 0x5FFF and self.display:
|
||||||
self.display.update(address, value)
|
self.display.update(address, value)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user