[NES] fix some input bugs

This commit is contained in:
zeromus 2011-03-20 02:25:47 +00:00
parent f7bf5bdd17
commit 6493b65690
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ TriggerException(ExceptionType.BRK);
PendingCycles -= 5; TotalExecutedCycles += 5; PendingCycles -= 5; TotalExecutedCycles += 5;
break; break;
case 0x08: // PHP 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); WriteMemory((ushort)(S-- + 0x100), P);
PendingCycles -= 3; TotalExecutedCycles += 3; PendingCycles -= 3; TotalExecutedCycles += 3;
break; break;

View File

@ -418,7 +418,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo
return (byte)ret; return (byte)ret;
} }
default: default:
return 0xFF; return 0x00;
} }
} }