N64 - add a menu item for "Mupen style lag"

This commit is contained in:
adelikat 2014-08-03 01:16:11 +00:00
parent 5e0ba6cd30
commit 7fa58557a6
2 changed files with 23 additions and 2 deletions

View File

@ -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

View File

@ -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; }