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

Include the mach argument

This commit is contained in:
Peter Evans 2018-01-02 23:52:40 -06:00
parent 0aaa888b3f
commit 425ca1b1e1

View File

@ -95,7 +95,7 @@ Test(vm_segment, write_map)
} }
static vm_8bit static vm_8bit
read_fn(vm_segment *segment, size_t addr) read_fn(vm_segment *segment, size_t addr, void *_mach)
{ {
return 222; return 222;
} }
@ -113,7 +113,7 @@ Test(vm_segment, use_read_map)
} }
void void
write_fn(vm_segment *segment, size_t addr, vm_8bit value) write_fn(vm_segment *segment, size_t addr, vm_8bit value, void *_mach)
{ {
segment->memory[addr+1] = value; segment->memory[addr+1] = value;
} }