mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
FFMQ: Fix reset protection (#3710)
* Revert reset protection * Fix reset protection --------- Co-authored-by: alchav <alchav@jalchavware.com>
This commit is contained in:
@@ -71,7 +71,7 @@ class FFMQClient(SNIClient):
|
|||||||
received = await snes_read(ctx, RECEIVED_DATA[0], RECEIVED_DATA[1])
|
received = await snes_read(ctx, RECEIVED_DATA[0], RECEIVED_DATA[1])
|
||||||
data = await snes_read(ctx, READ_DATA_START, READ_DATA_END - READ_DATA_START)
|
data = await snes_read(ctx, READ_DATA_START, READ_DATA_END - READ_DATA_START)
|
||||||
check_2 = await snes_read(ctx, 0xF53749, 1)
|
check_2 = await snes_read(ctx, 0xF53749, 1)
|
||||||
if check_1 != b'01' or check_2 != b'01':
|
if check_1 != b'\x01' or check_2 != b'\x01':
|
||||||
return
|
return
|
||||||
|
|
||||||
def get_range(data_range):
|
def get_range(data_range):
|
||||||
|
Reference in New Issue
Block a user