From 6493b65690c2968029d2281387b95bdd85b58f97 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sun, 20 Mar 2011 02:25:47 +0000 Subject: [PATCH] [NES] fix some input bugs --- BizHawk.Emulation/CPUs/MOS 6502/Execute.cs | 2 +- BizHawk.Emulation/Consoles/Nintendo/NES/APU.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BizHawk.Emulation/CPUs/MOS 6502/Execute.cs b/BizHawk.Emulation/CPUs/MOS 6502/Execute.cs index 704b1b43c4..9c95daa3ff 100644 --- a/BizHawk.Emulation/CPUs/MOS 6502/Execute.cs +++ b/BizHawk.Emulation/CPUs/MOS 6502/Execute.cs @@ -61,7 +61,7 @@ TriggerException(ExceptionType.BRK); PendingCycles -= 5; TotalExecutedCycles += 5; break; case 0x08: // PHP - //FlagB = true; //why would it do this?? how weird + FlagB = true; //why would it do this?? how weird WriteMemory((ushort)(S-- + 0x100), P); PendingCycles -= 3; TotalExecutedCycles += 3; break; diff --git a/BizHawk.Emulation/Consoles/Nintendo/NES/APU.cs b/BizHawk.Emulation/Consoles/Nintendo/NES/APU.cs index a49755178e..51e7942acc 100644 --- a/BizHawk.Emulation/Consoles/Nintendo/NES/APU.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/NES/APU.cs @@ -418,7 +418,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo return (byte)ret; } default: - return 0xFF; + return 0x00; } }