LIBRETRO: rename speed hack option

This commit is contained in:
Giovanni Cascione 2023-03-25 09:48:33 +01:00
parent 8e2f765223
commit 737ff66cd3
3 changed files with 8 additions and 8 deletions

View File

@ -193,10 +193,10 @@ struct retro_core_option_v2_definition option_defs_it[] = {
NULL
},
{
"scummvm_speed_hack",
"Speed Hack (riavvio necessario)",
"scummvm_allow_timing_inaccuracies",
"Consenti inaccuratezze di timing (riavvio necessario)",
NULL,
"Modalità che riduce significativamente le richeste di CPU consentendo lievi inaccuratezze di timing. Questo 'hack' è considerato 'sicuro' - non dovrebbe causare errori e la maggior parte delle inaccuratezze sono impercettibili. Rimane comunque un hack, e gli utenti con macchine di classe desktop dovrebbero lasciarlo disabilitato. Su hardware a basse prestazioni (vecchi device Android, computer su singola scheda), questo hack è essenziale per il funzionamento del core a velocità piena.",
"Consente inaccuratezze di timing che riducono significativamente le richeste di CPU. Anche se la maggior parte delle inaccuratezze sono impercettibili, in alcuni casi potrebbe introdurre problemi di sincronizzazione audio, quindi questa opzione andrebbe abilitata solo se il raggiungimento della piena velocità non è possibile in altro modo.",
NULL,
NULL,
{

View File

@ -258,10 +258,10 @@ struct retro_core_option_v2_definition option_defs_us[] = {
"0"
},
{
"scummvm_speed_hack",
"Speed Hack (Restart)",
"scummvm_allow_timing_inaccuracies",
"Allow Timing Inaccuracies (Restart)",
NULL,
"Enables a speed hack that significantly reduces CPU requirements by allowing subtle timing inaccuracies. This hack is considered 'safe' - it should cause no errors, and most timing deviations are imperceptible. It remains a hack, though, and users of desktop-class machines are advised to keep it disabled. On low power hardware (weak Android devices, single board computers), this hack is essential for full speed operation of the core.",
"Allow timing inaccuracies that reduces CPU requirements. Though most timing deviations are imperceptible, in some cases it may introduce audio sync/timing issues, hence this option should be enabled only if full speed cannot be reached otherwise.",
NULL,
NULL,
{
@ -269,7 +269,7 @@ struct retro_core_option_v2_definition option_defs_us[] = {
{"enabled", NULL},
{NULL, NULL},
},
#if defined(ANDROID) || defined(DINGUX) || defined(_3DS)
#if defined(DINGUX) || defined(_3DS)
"enabled"
#else
"disabled"

View File

@ -176,7 +176,7 @@ static void update_variables(void) {
mouse_speed = (float)atof(var.value);
}
var.key = "scummvm_speed_hack";
var.key = "scummvm_allow_timing_inaccuracies";
var.value = NULL;
speed_hack_is_enabled = false;
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) {