DKC3: Remove unused variables and imports #4302

This commit is contained in:
Nicholas Saylor
2025-01-14 04:49:30 -05:00
committed by GitHub
parent 0f3818e711
commit 04928bd83d
7 changed files with 11 additions and 17 deletions

View File

@@ -1,5 +1,4 @@
import logging
import asyncio
from NetUtils import ClientStatus, color
from worlds.AutoSNIClient import SNIClient
@@ -32,7 +31,7 @@ class DKC3SNIClient(SNIClient):
async def validate_rom(self, ctx):
from SNIClient import snes_buffered_write, snes_flush_writes, snes_read
from SNIClient import snes_read
rom_name = await snes_read(ctx, DKC3_ROMHASH_START, ROMHASH_SIZE)
if rom_name is None or rom_name == bytes([0] * ROMHASH_SIZE) or rom_name[:2] != b"D3":