mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-14 14:55:12 +01:00
[libretro] fixed a few core settings having no effects
This commit is contained in:
parent
31885e7206
commit
8d2a466ca3
Binary file not shown.
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user