From 188fe860e0af98aa51a727dbda794f479a665617 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Sun, 2 Nov 2014 06:31:17 +0100 Subject: implement rom loading from memory. --- source/memmap.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/memmap.h') 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*); -- cgit v1.2.3