tyrquake icon indicating copy to clipboard operation
tyrquake copied to clipboard

Invert Y axis setting broken

Open beaumartinez opened this issue 6 years ago • 0 comments
trafficstars

7403e25681e085b8ee80d56c9aefc5d0bd1ad4bd had the unfortunate side effect of breaking the invert y axis setting. The patch below restores it.

diff --git a/common/libretro_core_options.h b/common/libretro_core_options.h
index 06974f6..1694bcf 100644
--- a/common/libretro_core_options.h
+++ b/common/libretro_core_options.h
@@ -94,16 +94,11 @@ struct retro_core_option_definition option_defs_us[] = {
       "Invert Y Axis",
       "Invert the gamepad right analog stick's Y axis.",
       {
-         { "0", NULL },
-         { "5", NULL },
-         { "10", NULL },
-         { "15",  NULL },
-         { "20",  NULL },
-         { "25",  NULL },
-         { "30",  NULL },
+         { "disabled",  "Disabled" },
+         { "enabled",   "Enabled" },
          { NULL, NULL },
       },
-      "15"
+      "disabled"
    },
    {
       "tyrquake_analog_deadzone",

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

beaumartinez avatar Aug 02 '19 22:08 beaumartinez