summaryrefslogtreecommitdiff
path: root/arm9/source/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'arm9/source/main.c')
-rw-r--r--arm9/source/main.c5
1 files changed, 5 insertions, 0 deletions
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)
{