1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-07-18 09:28:56 +00:00

We no longer need the last effective address

This commit is contained in:
Peter Evans 2018-04-21 23:06:23 -05:00
parent 40550b38dc
commit a5947f646e

View File

@ -151,14 +151,9 @@ apple2_bank_map(vm_segment *segment)
SEGMENT_READER(apple2_bank_switch_read)
{
apple2 *mach;
vm_16bit last_addr;
mach = (apple2 *)_mach;
// We need to know the last opcode and address, because some of our
// soft switches require two consecutive reads
mos6502_last_executed(mach->cpu, NULL, NULL, &last_addr);
switch (addr) {
// The $C080 - $C083 range all control memory access while using
// bank 2 RAM for the $Dnnn range. Note that here and in the