libretro / snes9x2002

Snes9x 2002. Port of SNES9x 1.39 for libretro (was previously called PocketSNES). Heavily optimized for ARM.
37 stars 46 forks source link

Multitap support? #9

Open Holzhaus opened 9 years ago

Holzhaus commented 9 years ago

Multitap seems currently not supported: I'm unable to play Bomberman with more than 2 players, although It does work with the snes9x-next core. Is this a planned feature?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10647230-multitap-support?utm_campaign=plugin&utm_content=tracker%2F2466790&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2466790&utm_medium=issues&utm_source=github).
barbudreadmon commented 9 years ago

I think 9bfbd02b2bfba3bb2362d4cdf566a632d14186cd is supposed to fix this, but no clue how it is supposed to work. This is an annoying issue since snes9x/snes9x-next libretro cores have multiple issues on rpi2 right now (segfaults with -O3, freezes on a few multitap games, ...)

FD- commented 5 years ago

Just to correct what @barbudreadmon wrote above: The linked commit was not supposed to fix problems with multitap, and it didn't.

FD- commented 5 years ago

It would be nice to get some information about what could be expected from the current multitap implementation: In the code, it seems like it would be supported, though I couldn't get it to work.

In order to also allow proper mapping of controllers, I backported the controls code from the snes9x master into snes9x 2002. I was able to get it as far as correctly telling games when a multitap input device was connected. However, games don't seem to recognise input from the controllers that are attached to the multitap.

I have uploaded my attempts to GitHub. Do you guys probably have any ideas what I might have missed?

(I'm aware that you probably wouldn't like to see c++ introduced into the code base, but I just noticed snes9x 2010 has a c version of that code (controls.c) that should be relatively easy to use instead, once general functionality has been proven.)

FD- commented 5 years ago

Any news on this?