N64: Added cxd4 to the RSP options

This commit is contained in:
pjgat09 2016-09-27 15:10:38 -04:00
parent 6e0349890f
commit 78942a8422
2 changed files with 18 additions and 4 deletions

View File

@ -131,9 +131,20 @@ namespace BizHawk.Emulation.Cores.Nintendo.N64
_inputProvider = new N64Input(this.AsInputPollable(), api, comm, this._syncSettings.Controllers);
(ServiceProvider as BasicServiceProvider).Register<IVideoProvider>(_videoProvider);
string rsp = _syncSettings.Rsp == N64SyncSettings.RspType.Rsp_Hle ?
"mupen64plus-rsp-hle.dll" :
"mupen64plus-rsp-z64-hlevideo.dll";
string rsp;
switch (_syncSettings.Rsp)
{
default:
case N64SyncSettings.RspType.Rsp_Hle:
rsp = "mupen64plus-rsp-hle.dll";
break;
case N64SyncSettings.RspType.Rsp_Z64_hlevideo:
rsp = "mupen64plus-rsp-z64-hlevideo.dll";
break;
case N64SyncSettings.RspType.Rsp_cxd4:
rsp = "mupen64plus-rsp-cxd4.dll";
break;
}
api.AttachPlugin(mupen64plusApi.m64p_plugin_type.M64PLUGIN_RSP, rsp);

View File

@ -100,7 +100,10 @@ namespace BizHawk.Emulation.Cores.Nintendo.N64
Rsp_Hle = 0,
[Description("Z64 Hle Video")]
Rsp_Z64_hlevideo = 1
Rsp_Z64_hlevideo = 1,
[Description("cxd4 LLE")]
Rsp_cxd4 = 2
}
}