1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-12-21 23:29:16 +00:00

We need to pass the machine, not memory

This commit is contained in:
Peter Evans 2018-01-02 23:49:29 -06:00
parent cb9a7d0fce
commit 9a1e51fec3

View File

@ -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);