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

@@ -30,6 +30,7 @@ L2AC_RX_ADDR: int = SRAM_START + 0x2800
class L2ACSNIClient(SNIClient):
game: str = "Lufia II Ancient Cave"
patch_suffix = ".apl2ac"
async def validate_rom(self, ctx: SNIContext) -> bool:
from SNIClient import snes_read