[libretro] fixed a few core settings having no effects

This commit is contained in:
EkeEke 2015-05-07 00:37:23 +02:00
parent 31885e7206
commit 8d2a466ca3
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -924,7 +924,7 @@ static void check_variables(void)
environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var); environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var);
{ {
orig_value = config.render; orig_value = config.render;
if (strcmp(var.value, "normal") == 0) if (strcmp(var.value, "single field") == 0)
config.render = 0; config.render = 0;
else else
config.render = 1; config.render = 1;
@ -935,7 +935,7 @@ static void check_variables(void)
var.key = "genesis_plus_gx_gun_cursor"; var.key = "genesis_plus_gx_gun_cursor";
environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var); environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var);
{ {
if (strcmp(var.value, "off") == 0) if (strcmp(var.value, "no") == 0)
config.gun_cursor = 0; config.gun_cursor = 0;
else else
config.gun_cursor = 1; config.gun_cursor = 1;
@ -944,7 +944,7 @@ static void check_variables(void)
var.key = "genesis_plus_gx_invert_mouse"; var.key = "genesis_plus_gx_invert_mouse";
environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var); environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var);
{ {
if (strcmp(var.value, "off") == 0) if (strcmp(var.value, "no") == 0)
config.invert_mouse = 0; config.invert_mouse = 0;
else else
config.invert_mouse = 1; config.invert_mouse = 1;