NESHawk: add offset to state, change input poll timing to match actual polling
This commit is contained in:
parent
90a12a8e73
commit
cb0c8c0859
|
@ -755,14 +755,13 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
controller_was_latched = true;
|
||||
alt_lag = false;
|
||||
lagged = false;
|
||||
InputCallbacks.Call();
|
||||
}
|
||||
current_strobe = new_strobe;
|
||||
}
|
||||
|
||||
private byte read_joyport(int addr)
|
||||
{
|
||||
InputCallbacks.Call();
|
||||
|
||||
byte ret;
|
||||
if (_isVS)
|
||||
{
|
||||
|
|
|
@ -301,6 +301,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
|
||||
ser.Sync(nameof(nmi_destiny), ref nmi_destiny);
|
||||
ser.Sync(nameof(evenOddDestiny), ref evenOddDestiny);
|
||||
ser.Sync(nameof(start_up_offset), ref start_up_offset);
|
||||
ser.Sync(nameof(NMI_offset), ref NMI_offset);
|
||||
ser.Sync(nameof(yp_shift), ref yp_shift);
|
||||
ser.Sync(nameof(sprite_eval_cycle), ref sprite_eval_cycle);
|
||||
|
|
Loading…
Reference in New Issue