From 3b458dbc689d0f3f6ffcab7403ee554bf6124ac2 Mon Sep 17 00:00:00 2001 From: zsknight <> Date: Sun, 15 Apr 2001 08:14:20 +0000 Subject: [PATCH] Fixed b flag setting in BRK instruction in 6502 emulation mode --- zsnes/src/cpu/65816d.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsnes/src/cpu/65816d.inc b/zsnes/src/cpu/65816d.inc index fb2ca2b3..eb2c28c5 100644 --- a/zsnes/src/cpu/65816d.inc +++ b/zsnes/src/cpu/65816d.inc @@ -471,7 +471,7 @@ BRKemulmode mov ax,[brkv8] mov [xpc],ax and dl,11110011b - or dl,00000100b + or dl,00001100b test eax,8000h jz .loweraddr mov esi,[snesmmap+ebx*4]