Fix gpsp options (and 3ds dynarec disable too)
This commit is contained in:
parent
4ce9c5ba26
commit
642179228a
1 changed files with 17 additions and 17 deletions
|
@ -76,6 +76,19 @@ struct retro_core_option_definition option_defs_us[] = {
|
||||||
},
|
},
|
||||||
"game"
|
"game"
|
||||||
},
|
},
|
||||||
|
#if defined(HAVE_DYNAREC)
|
||||||
|
{
|
||||||
|
"gpsp_drc",
|
||||||
|
"Dynamic Recompiler",
|
||||||
|
"Dynamically recompile CPU instructions to native instructions. Greatly improves performance, but may reduce accuracy.",
|
||||||
|
{
|
||||||
|
{ "enabled", NULL },
|
||||||
|
{ "disabled", NULL },
|
||||||
|
{ NULL, NULL },
|
||||||
|
},
|
||||||
|
"enabled"
|
||||||
|
},
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
"gpsp_sprlim",
|
"gpsp_sprlim",
|
||||||
"No Sprite Limit",
|
"No Sprite Limit",
|
||||||
|
@ -191,19 +204,6 @@ struct retro_core_option_definition option_defs_us[] = {
|
||||||
},
|
},
|
||||||
"disabled"
|
"disabled"
|
||||||
},
|
},
|
||||||
#if defined(HAVE_DYNAREC)
|
|
||||||
{
|
|
||||||
"gpsp_drc",
|
|
||||||
"Dynamic Recompiler",
|
|
||||||
"Dynamically recompile CPU instructions to native instructions. Greatly improves performance, but may reduce accuracy.",
|
|
||||||
{
|
|
||||||
{ "enabled", NULL },
|
|
||||||
{ "disabled", NULL },
|
|
||||||
{ NULL, NULL },
|
|
||||||
},
|
|
||||||
"enabled"
|
|
||||||
},
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
"gpsp_turbo_period",
|
"gpsp_turbo_period",
|
||||||
"Turbo Button Period",
|
"Turbo Button Period",
|
||||||
|
@ -393,10 +393,10 @@ static INLINE void libretro_set_core_options(retro_environment_t environ_cb)
|
||||||
{
|
{
|
||||||
/* Critical error - dynarec is force
|
/* Critical error - dynarec is force
|
||||||
* disabled, so remove 'gpsp_drc' option */
|
* disabled, so remove 'gpsp_drc' option */
|
||||||
option_defs_us[6].key = NULL;
|
option_defs_us[2].key = NULL;
|
||||||
option_defs_us[6].desc = NULL;
|
option_defs_us[2].desc = NULL;
|
||||||
option_defs_us[6].info = NULL;
|
option_defs_us[2].info = NULL;
|
||||||
option_defs_us[6].default_value = NULL;
|
option_defs_us[2].default_value = NULL;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue