[NES] fix some input bugs
This commit is contained in:
parent
f7bf5bdd17
commit
6493b65690
|
@ -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;
|
||||||
|
|
|
@ -418,7 +418,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo
|
||||||
return (byte)ret;
|
return (byte)ret;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
return 0xFF;
|
return 0x00;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue