mirror of
https://github.com/pevans/erc-c.git
synced 2024-12-22 14:30:45 +00:00
We no longer need the last effective address
This commit is contained in:
parent
40550b38dc
commit
a5947f646e
@ -151,14 +151,9 @@ apple2_bank_map(vm_segment *segment)
|
|||||||
SEGMENT_READER(apple2_bank_switch_read)
|
SEGMENT_READER(apple2_bank_switch_read)
|
||||||
{
|
{
|
||||||
apple2 *mach;
|
apple2 *mach;
|
||||||
vm_16bit last_addr;
|
|
||||||
|
|
||||||
mach = (apple2 *)_mach;
|
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) {
|
switch (addr) {
|
||||||
// The $C080 - $C083 range all control memory access while using
|
// The $C080 - $C083 range all control memory access while using
|
||||||
// bank 2 RAM for the $Dnnn range. Note that here and in the
|
// bank 2 RAM for the $Dnnn range. Note that here and in the
|
||||||
|
Loading…
Reference in New Issue
Block a user