1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-11-16 09:07:05 +00:00

Remove unnecessary for loop

This commit is contained in:
Peter Evans 2018-02-04 14:15:24 -06:00
parent 9e4a842fdf
commit 64364d91ad

View File

@ -567,12 +567,7 @@ apple2_dd_map(vm_segment *seg)
{ {
size_t addr; size_t addr;
for (addr = 0xC0E0; addr < 0xC0F0; 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);
}
for (addr = 0xC0F0; addr < 0xC100; addr++) {
vm_segment_read_map(seg, addr, apple2_dd_switch_read); vm_segment_read_map(seg, addr, apple2_dd_switch_read);
vm_segment_write_map(seg, addr, apple2_dd_switch_write); vm_segment_write_map(seg, addr, apple2_dd_switch_write);
} }