Skip to content

Invert Y axis setting broken #75

Description

@beaumartinez

7403e25 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions