mirror of
https://github.com/rkujawa/rk65c02.git
synced 2024-12-13 01:29:57 +00:00
Fix pointer usage.
This commit is contained in:
parent
44f723b016
commit
afadfd8b13
@ -262,8 +262,8 @@ emul_brk(rk65c02emu_t *e, void *id, instruction_t *i)
|
||||
e->regs.P &= ~P_DECIMAL;
|
||||
|
||||
/* load address from IRQ vector into program counter */
|
||||
e->regs.PC = bus_read_1(&e->bus, VECTOR_IRQ);
|
||||
e->regs.PC |= bus_read_1(&e->bus, VECTOR_IRQ + 1) << 8;
|
||||
e->regs.PC = bus_read_1(e->bus, VECTOR_IRQ);
|
||||
e->regs.PC |= bus_read_1(e->bus, VECTOR_IRQ + 1) << 8;
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user