From 0099ea03c53e20968cc0490a48bd606597044e07 Mon Sep 17 00:00:00 2001 From: Ian C Date: Sat, 29 Sep 2007 11:08:46 +0000 Subject: Support for array-based memory --- arm9/source/main.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arm9/source/main.c') diff --git a/arm9/source/main.c b/arm9/source/main.c index 235098b..6c8fbbc 100644 --- a/arm9/source/main.c +++ b/arm9/source/main.c @@ -335,11 +335,16 @@ int main(int argc, char *argv[]) */ keysSetRepeat(30,15); +#ifdef ENABLE_ARRAY_MEMORY + z80 = Z80Init(SPECReadPort, + SPECWritePort); +#else z80 = Z80Init(SPECPeek, SPECPoke, SPECReadPort, SPECWritePort, SPECDisPeek); +#endif if (!z80) { -- cgit v1.2.3