From 3f0a0915205a27f6023ab4b96726577c62b6d0af Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Thu, 4 Jan 2018 19:59:04 -0600 Subject: [PATCH] Use const pointers; fix function name typo --- src/apple2.mem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apple2.mem.c b/src/apple2.mem.c index 0ba9460..c77fa83 100644 --- a/src/apple2.mem.c +++ b/src/apple2.mem.c @@ -104,9 +104,9 @@ int apple2_mem_init_disk2_rom(apple2 *mach) { int err; - vm_8bit *diskrom; + const vm_8bit *diskrom; - diskrom = objstore_apple2_disk_rom(); + diskrom = objstore_apple2_disk2_rom(); // Copy into the first peripheral page for disk ROM. err = vm_segment_copy_buf(mach->memory, diskrom, @@ -139,7 +139,7 @@ int apple2_mem_init_sys_rom(apple2 *mach) { int err; - vm_8bit *sysrom; + const vm_8bit *sysrom; sysrom = objstore_apple2_sys_rom();