1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-07-13 14:29:09 +00:00
This commit is contained in:
Stephen Crane 2016-01-24 15:28:54 +00:00
parent 01def1ba15
commit feb219dd2e

View File

@ -91,8 +91,7 @@ void r6502::irq() {
void r6502::brk() {
if (!P.bits.I) {
pusha(PC);
P.bits.B = 1;
pusha(PC+1);
php();
P.bits.I = 1;
PC = vector(ibvec);