mirror of
https://github.com/pevans/erc-c.git
synced 2024-11-27 20:51:17 +00:00
Let the segment vm know about the machine
This commit is contained in:
parent
ee7b5f66b0
commit
cb9a7d0fce
@ -87,6 +87,8 @@ apple2_mem_map(apple2 *mach)
|
||||
{
|
||||
size_t addr;
|
||||
|
||||
vm_segment_set_map_machine(mach);
|
||||
|
||||
for (addr = APPLE2_BANK_OFFSET; addr < MOS6502_MEMSIZE; addr++) {
|
||||
vm_segment_read_map(mach->memory, addr, apple2_mem_read_bank);
|
||||
vm_segment_write_map(mach->memory, addr, apple2_mem_write_bank);
|
||||
|
Loading…
Reference in New Issue
Block a user