Fix N64 condition (#845)

This commit is contained in:
trbocode
2023-11-03 12:41:22 +02:00
committed by GitHub
parent 814d88567f
commit c3c0d8cf64

View File

@@ -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;