SNIClient: remove some debug stuff before release
This commit is contained in:
parent
fc3b8c40be
commit
586af0de1d
25
SNIClient.py
25
SNIClient.py
|
@ -84,20 +84,17 @@ class LttPCommandProcessor(ClientCommandProcessor):
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def _cmd_snes_write(self, address, data):
|
# Left here for quick re-addition for debugging.
|
||||||
"""Write the specified byte (base10) to the SNES' memory address (base16)."""
|
# def _cmd_snes_write(self, address, data):
|
||||||
if self.ctx.snes_state != SNESState.SNES_ATTACHED:
|
# """Write the specified byte (base10) to the SNES' memory address (base16)."""
|
||||||
self.output("No attached SNES Device.")
|
# if self.ctx.snes_state != SNESState.SNES_ATTACHED:
|
||||||
return False
|
# self.output("No attached SNES Device.")
|
||||||
|
# return False
|
||||||
snes_buffered_write(self.ctx, int(address, 16), bytes([int(data)]))
|
#
|
||||||
asyncio.create_task(snes_flush_writes(self.ctx))
|
# snes_buffered_write(self.ctx, int(address, 16), bytes([int(data)]))
|
||||||
self.output("Data Sent")
|
# asyncio.create_task(snes_flush_writes(self.ctx))
|
||||||
return True
|
# self.output("Data Sent")
|
||||||
|
# return True
|
||||||
def _cmd_test_death(self):
|
|
||||||
self.ctx.on_deathlink({"source": "Console",
|
|
||||||
"time": time.time()})
|
|
||||||
|
|
||||||
|
|
||||||
class Context(CommonContext):
|
class Context(CommonContext):
|
||||||
|
|
Loading…
Reference in New Issue