libretro / px68k-libretro

Portable SHARP X68000 Emulator for Libretro
http://hissorii.blog45.fc2.com
GNU General Public License v2.0
45 stars 40 forks source link

Pressing left and right simultaneously pauses ChoRenSha 68K #123

Closed UltraHex closed 4 years ago

negativeExponent commented 4 years ago

https://github.com/libretro/px68k-libretro/blob/master/libretro/joystick.c#L141 select acts as pause in chorensha, which is just a macro to left+right

UltraHex commented 4 years ago

Is there a way to disable the macro?

Edit: The code suggests changing "Joy1 Select Mapping" but it doesn't seem to have an effect.

Edit 2: Now I get it. Pressing Select on the physical controller connected the pins for left and right to voltage to indicate it was being pressed. In that case I think we should add an option to prevent opposing inputs. I'll see about making a pull request tomorrow.

negativeExponent commented 4 years ago

ill see what i can do. but i cant implement anything for this core at this time...

negativeExponent commented 4 years ago

this behavior should now be prevented in latest commit https://github.com/libretro/px68k-libretro/commit/5296e4b93b007df7abb325bce55275d2e6a82b62