Minor: N64 fix include path. SNES load rom with index 0 only (#921)

This commit is contained in:
paulb-nl
2024-10-03 08:34:28 +02:00
committed by GitHub
parent 81dae66a70
commit 425780205a
2 changed files with 2 additions and 2 deletions

View File

@@ -7,11 +7,11 @@
#include "../../hardware.h"
#include "../../menu.h"
#include "../../shmem.h"
#include "../../lib/md5/md5.h"
#include "miniz.h"
#include "n64.h"
#include "n64_cpak_header.h"
#include "lib/md5/md5.h"
#pragma push_macro("NONE")
#pragma push_macro("BIG_ENDIAN")

View File

@@ -2601,7 +2601,7 @@ int user_io_file_tx(const char* name, unsigned char index, char opensave, char m
FileSeek(&f, 256, SEEK_SET);
bytes2send = 64 * 1024;
}
else {
else if ((index & 0x3F) == 0) {
printf("Load SNES ROM.\n");
uint8_t* buf = snes_get_header(&f);
hexdump(buf, 16, 0);