From 64364d91ad13013c28da54b956d45e548682a4cd Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Sun, 4 Feb 2018 14:15:24 -0600 Subject: [PATCH] Remove unnecessary for loop --- src/apple2.dd.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/apple2.dd.c b/src/apple2.dd.c index d1e00cb..15121bf 100644 --- a/src/apple2.dd.c +++ b/src/apple2.dd.c @@ -567,12 +567,7 @@ apple2_dd_map(vm_segment *seg) { size_t addr; - for (addr = 0xC0E0; addr < 0xC0F0; addr++) { - vm_segment_read_map(seg, addr, apple2_dd_switch_read); - vm_segment_write_map(seg, addr, apple2_dd_switch_write); - } - - for (addr = 0xC0F0; addr < 0xC100; addr++) { + for (addr = 0xC0E0; addr < 0xC100; addr++) { vm_segment_read_map(seg, addr, apple2_dd_switch_read); vm_segment_write_map(seg, addr, apple2_dd_switch_write); }