aboutsummaryrefslogtreecommitdiff
path: root/source/memmap.h
diff options
context:
space:
mode:
authoraliaspider2014-11-02 06:31:17 +0100
committeraliaspider2014-11-02 06:31:17 +0100
commit188fe860e0af98aa51a727dbda794f479a665617 (patch)
treec15282a958dc0250e12533d63f36447d379a4cc3 /source/memmap.h
parent95b02f090c236201951795b2544bfb471e299fcd (diff)
downloadsnes9x2005-188fe860e0af98aa51a727dbda794f479a665617.tar.gz
snes9x2005-188fe860e0af98aa51a727dbda794f479a665617.tar.bz2
snes9x2005-188fe860e0af98aa51a727dbda794f479a665617.zip
implement rom loading from memory.
Diffstat (limited to 'source/memmap.h')
-rw-r--r--source/memmap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/memmap.h b/source/memmap.h
index d5d89b1..4614e83 100644
--- a/source/memmap.h
+++ b/source/memmap.h
@@ -137,8 +137,12 @@
#define BIGFIRST 2
#define SMALLFIRST 3
+#ifdef LOAD_FROM_MEMORY_TEST
+bool LoadROM(const struct retro_game_info* game);
+#else
bool8 LoadROM(const char*);
uint32 FileLoader(uint8* buffer, const char* filename, int32 maxsize);
+#endif
void InitROM(bool8);
bool8 LoadSRAM(const char*);
bool8 SaveSRAM(const char*);