nga-python: run black to reformat code
FossilOrigin-Name: 8a6710e5ae7051775e4d9d9f6689f135a74efb6f101bd7940d7fcafc5cb73f4e
This commit is contained in:
parent
132513dcb7
commit
680842f35a
1 changed files with 2 additions and 1 deletions
|
@ -35,6 +35,7 @@ from IntegerStack import IntegerStack
|
||||||
from Memory import Memory
|
from Memory import Memory
|
||||||
from InitialImage import InitialImage
|
from InitialImage import InitialImage
|
||||||
|
|
||||||
|
|
||||||
class Retro:
|
class Retro:
|
||||||
def map_in(self, name):
|
def map_in(self, name):
|
||||||
return self.memory[self.find_entry(name) + 1]
|
return self.memory[self.find_entry(name) + 1]
|
||||||
|
@ -417,7 +418,7 @@ class Retro:
|
||||||
|
|
||||||
def i_iinvoke(self):
|
def i_iinvoke(self):
|
||||||
device = self.stack.pop()
|
device = self.stack.pop()
|
||||||
# print('dev:', device)
|
# print('dev:', device)
|
||||||
if device == 0:
|
if device == 0:
|
||||||
self.display_character()
|
self.display_character()
|
||||||
if device == 1:
|
if device == 1:
|
||||||
|
|
Loading…
Reference in a new issue