libretro-mirrors / beetle-saturn-libretro

Standalone port of Mednafen Saturn to the libretro API.
GNU General Public License v2.0
61 stars 40 forks source link

Add a core option to enable/disable opposite directions #207

Closed bslenul closed 2 years ago

bslenul commented 2 years ago

Added a core option to enable/disable Up+Down and Left+Right (disabled by default as it can cause glitches/unwanted behavior), tested on Earthworm Jim 2, PowerSlave and Magical Night Dreams: Cotton 2 (these games pause when pressing opposite directions) and it works fine.

I wouldn't mind a review (small PR, shouldn't take long!), I'm not a dev and it took me a while to understand how this stuff works (especially the bit operations...) but by looking at the Beetle PCE core, which has a similar option, I was able to figured it out. Like I said it worked in my tests but I could've missed something.

Fixes #204