diff --git a/src/apple2.c b/src/apple2.c index 43164c3..21ec1b5 100644 --- a/src/apple2.c +++ b/src/apple2.c @@ -58,7 +58,7 @@ apple2_create(int width, int height) mach->memory = mach->cpu->memory; // Set the read/write mappers for everything - apple2_mem_map(mach->memory); + apple2_mem_map(mach); // Initliaze our system ROM and separate bank-switched block of RAM mach->rom = vm_segment_create(APPLE2_ROM_SIZE);