SNIClient: dynamically generate patch file identifier (#2870)

Co-authored-by: beauxq <beauxq@yahoo.com>
This commit is contained in:
Silvris
2024-03-07 03:18:22 -06:00
committed by GitHub
parent 862d77820d
commit b4bb88fcf7
8 changed files with 50 additions and 5 deletions

View File

@@ -37,6 +37,7 @@ SM_REMOTE_ITEM_FLAG_ADDR = ROM_START + 0x277F06 # 1 byte
class SMSNIClient(SNIClient):
game = "Super Metroid"
patch_suffix = [".apsm", ".apm3"]
async def deathlink_kill_player(self, ctx):
from SNIClient import DeathState, snes_buffered_write, snes_flush_writes, snes_read