Skip to content

Conversation

@negativeExponent
Copy link
Contributor

@negativeExponent negativeExponent commented Dec 5, 2025

  • Refactor GB joypad code, fixed missing edge-case
  • Fix libretro joypad not handling multi-controllers

@LibretroAdmin @hizzlekizzle

- Simplify GB joypad handling register logic
- Add missing edge case when both bits 4 and 5 in P1/JOYP register is low. The result returns AND of direction and action face buttons (see Sameboy and other emus)
Input handler was just previously reading from port 1
@negativeExponent negativeExponent marked this pull request as draft December 7, 2025 23:37
@negativeExponent negativeExponent marked this pull request as ready for review December 7, 2025 23:41
- fixes proper detection of save types or attached gpio device
- really need a proper and deterministic way to detect and set all these
  instead of waiting for core to present. too many enabled AUTO for
  example
@LibretroAdmin LibretroAdmin merged commit b269c9c into libretro:master Dec 10, 2025
22 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants