mirror of
https://github.com/cc65/cc65.git
synced 2025-01-02 09:34:22 +00:00
Fixed 65C02 timing again.
This commit is contained in:
parent
3915323528
commit
08ec9fc392
@ -2347,8 +2347,6 @@ static void OPC_6502_DE (void)
|
||||
unsigned char Val;
|
||||
Cycles = 7;
|
||||
Addr = MemReadWord (Regs.PC+1) + Regs.XR;
|
||||
if (CPU != CPU_6502 && !PAGE_CROSS (Addr, Regs.XR))
|
||||
--Cycles;
|
||||
Val = MemReadByte (Addr) - 1;
|
||||
MemWriteByte (Addr, Val);
|
||||
TEST_ZF (Val);
|
||||
@ -2656,8 +2654,6 @@ static void OPC_6502_FE (void)
|
||||
unsigned char Val;
|
||||
Cycles = 7;
|
||||
Addr = MemReadWord (Regs.PC+1) + Regs.XR;
|
||||
if (CPU != CPU_6502 && !PAGE_CROSS (Addr, Regs.XR))
|
||||
--Cycles;
|
||||
Val = MemReadByte (Addr) + 1;
|
||||
MemWriteByte (Addr, Val);
|
||||
TEST_ZF (Val);
|
||||
|
Loading…
Reference in New Issue
Block a user