aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTwinaphex2017-02-11 21:22:43 +0100
committerGitHub2017-02-11 21:22:43 +0100
commit751c8c2459ce58b5f8f4c50597e41404ea05ae0e (patch)
tree6eb10267fef40962956c3ea28decb6267e44982c
parent76996fc381bab16add67413cb7f96797517b5098 (diff)
parent0a6520c3fee25dded241427f16df844cea79182f (diff)
downloadpcsx_rearmed-751c8c2459ce58b5f8f4c50597e41404ea05ae0e.tar.gz
pcsx_rearmed-751c8c2459ce58b5f8f4c50597e41404ea05ae0e.tar.bz2
pcsx_rearmed-751c8c2459ce58b5f8f4c50597e41404ea05ae0e.zip
Merge pull request #101 from sergiobenrocha2/master
Use disabled/enabled instead, like other core settings.
-rw-r--r--frontend/libretro.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/frontend/libretro.c b/frontend/libretro.c
index fcabfc5..87dcb2d 100644
--- a/frontend/libretro.c
+++ b/frontend/libretro.c
@@ -460,9 +460,9 @@ void retro_set_environment(retro_environment_t cb)
{ "pcsx_rearmed_neon_enhancement_enable", "Enhanced resolution (slow); disabled|enabled" },
{ "pcsx_rearmed_neon_enhancement_no_main", "Enhanced resolution speed hack; disabled|enabled" },
#endif
- { "pcsx_rearmed_duping_enable", "Frame duping; on|off" },
- { "pcsx_rearmed_show_bios_bootlogo", "Show Bios Bootlogo(Breaks some games); off|on" },
- { "pcsx_rearmed_spu_reverb", "Sound: Reverb; on|off" },
+ { "pcsx_rearmed_duping_enable", "Frame duping; enabled|disabled" },
+ { "pcsx_rearmed_show_bios_bootlogo", "Show Bios Bootlogo(Breaks some games); disabled|enabled" },
+ { "pcsx_rearmed_spu_reverb", "Sound: Reverb; enabled|disabled" },
{ "pcsx_rearmed_spu_interpolation", "Sound: Interpolation; simple|gaussian|cubic|off" },
{ "pcsx_rearmed_pe2_fix", "Parasite Eve 2/Vandal Hearts 1/2 Fix; disabled|enabled" },
{ "pcsx_rearmed_inuyasha_fix", "InuYasha Sengoku Battle Fix; disabled|enabled" },
@@ -1397,9 +1397,9 @@ static void update_variables(bool in_flight)
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) || var.value)
{
- if (strcmp(var.value, "off") == 0)
+ if (strcmp(var.value, "disabled") == 0)
duping_enable = false;
- else if (strcmp(var.value, "on") == 0)
+ else if (strcmp(var.value, "enabled") == 0)
duping_enable = true;
}
@@ -1435,9 +1435,9 @@ static void update_variables(bool in_flight)
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) || var.value)
{
- if (strcmp(var.value, "off") == 0)
+ if (strcmp(var.value, "disabled") == 0)
spu_config.iUseReverb = false;
- else if (strcmp(var.value, "on") == 0)
+ else if (strcmp(var.value, "enabled") == 0)
spu_config.iUseReverb = true;
}
@@ -1498,7 +1498,7 @@ static void update_variables(bool in_flight)
var.key = "pcsx_rearmed_show_bios_bootlogo";
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) || var.value)
{
- if (strcmp(var.value, "on") == 0)
+ if (strcmp(var.value, "enabled") == 0)
rebootemu = 1;
}
}