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:
parent
cb9a7d0fce
commit
9a1e51fec3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user