foxygit / fake-08-xbox360 Log in
commit b0f0f424b7cd4b53d4a7181e5677ea44747bf661
Author:     Jon Bell <j.to.the.bell@gmail.com>
AuthorDate: Mon Oct 9 18:52:07 2023 -0600
Commit:     Jon Bell <j.to.the.bell@gmail.com>
CommitDate: Mon Oct 9 18:52:07 2023 -0600

    fix libretro button mappings

    Thanks @bcat for the report
---
 platform/libretro/libretro.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/platform/libretro/libretro.cpp b/platform/libretro/libretro.cpp
index 4291cc6..d95ccb6 100644
--- a/platform/libretro/libretro.cpp
+++ b/platform/libretro/libretro.cpp
@@ -201,8 +201,8 @@ static std::array<int, 7> buttons
     RETRO_DEVICE_ID_JOYPAD_RIGHT,
     RETRO_DEVICE_ID_JOYPAD_UP,
     RETRO_DEVICE_ID_JOYPAD_DOWN,
-    RETRO_DEVICE_ID_JOYPAD_A,
     RETRO_DEVICE_ID_JOYPAD_B,
+    RETRO_DEVICE_ID_JOYPAD_A,
     RETRO_DEVICE_ID_JOYPAD_START,
 };