N64 - add a menu item for "Mupen style lag"
This commit is contained in:
parent
5e0ba6cd30
commit
7fa58557a6
|
@ -238,8 +238,27 @@ namespace BizHawk.Emulation.Cores.Nintendo.N64
|
|||
|
||||
public bool IsLagFrame
|
||||
{
|
||||
get { return !_inputProvider.LastFrameInputPolled; }
|
||||
set { _inputProvider.LastFrameInputPolled = !value; }
|
||||
get
|
||||
{
|
||||
if (_syncSettings.UseMupenStyleLag)
|
||||
{
|
||||
return !IsVIFrame;
|
||||
}
|
||||
|
||||
return !_inputProvider.LastFrameInputPolled;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
if (_syncSettings.UseMupenStyleLag)
|
||||
{
|
||||
IsVIFrame = !value;
|
||||
}
|
||||
else
|
||||
{
|
||||
_inputProvider.LastFrameInputPolled = !value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsVIFrame
|
||||
|
|
|
@ -29,6 +29,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.N64
|
|||
JaboPlugin = new N64JaboPluginSettings();
|
||||
}
|
||||
|
||||
public bool UseMupenStyleLag { get; set; }
|
||||
|
||||
public CoreType Core { get; set; }
|
||||
public RspType Rsp { get; set; }
|
||||
public PluginType VideoPlugin { get; set; }
|
||||
|
|
Loading…
Reference in New Issue