From c3c0d8cf64c0d532a8fc63a038bc6780344cf443 Mon Sep 17 00:00:00 2001 From: trbocode Date: Fri, 3 Nov 2023 12:41:22 +0200 Subject: [PATCH] Fix N64 condition (#845) --- support/n64/n64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/n64/n64.cpp b/support/n64/n64.cpp index e831cee..900dfad 100644 --- a/support/n64/n64.cpp +++ b/support/n64/n64.cpp @@ -413,7 +413,7 @@ int n64_rom_tx(const char* name, unsigned char index) { int size = bytes2send; if (use_progress) ProgressMessage(0, 0, 0, 0); - if (index > 'A') { + if (index == 2) { // Handle non-N64 files (Game Boy) while (bytes2send) { uint32_t chunk = (bytes2send > sizeof(buf)) ? sizeof(buf) : bytes2send;