summaryrefslogtreecommitdiff
path: root/arm9/source/main.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2007-09-29 11:08:46 +0000
committerIan C <ianc@noddybox.co.uk>2007-09-29 11:08:46 +0000
commit0099ea03c53e20968cc0490a48bd606597044e07 (patch)
treeadab887e7c3a192874aec8cfd0125a9b8bafce5f /arm9/source/main.c
parentf39151d7f9bf82e7295c60b89d9da02c781528eb (diff)
Support for array-based memoryHEADmaster
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)
{