libretro / mame2016-libretro

Late 2016 version of MAME (0.174) for libretro. Compatible with MAME 0.174 sets.
Other
32 stars 40 forks source link

Button remapping is totally broken for this core #36

Open c0d3h4x0r opened 4 years ago

c0d3h4x0r commented 4 years ago

Core-specific button remapping works fine with the MAME 2010 core, but it's totally broken in this one, rendering this core largely useless. Totally unable to change the mappings in the RetroArch UI (under Quick Menu >> Controls).

c0d3h4x0r commented 4 years ago

Finally got to the bottom of this. mame2016-libretro is neglecting to make the following callback to set up all the input descriptors:

environ_cb(RETRO_ENVIRONMENT_SET_INPUT_DESCRIPTORS, desc);

That ID (RETRO_ENVIRONMENT_SET_INPUT_DESCRIPTORS) is present in retromain.c in mame2010-libretro, but it is nowhere to be found in mame2016-libretro.

c0d3h4x0r commented 4 years ago

I have a working fix; I'll prepare a merge request.

Lexanadu commented 2 years ago

Bit late to the party but am having this exact issue. Did you get the merge or able to post the fix ?