Minor: N64 fix include path. SNES load rom with index 0 only (#921)
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user