I’ve noticed this for a couple ‘types’ of games as well (using 0.191). Maybe I can help in determining what’s going on for a future fix, let me kind of breakdown my own setup here.
First off, I always set my controls to the keyboard in RetroAchs input mapping as follows:
B = F // A = G // Y = R // X = T
Now, with that context laid out, let’s move specifically to MAME’s setup. In MAME’s internal menu, on (general) if you map, say, “Button 1” to F, you get this:
Button 1 = F Joy 1 B // Button 2 = G Joy 1 A // Button 3 = R Joy 1 Y // Button 4 = T Joy 1 X
This is accurate to our RA setup. Golden. You can save general inputs and move on, hooraaaaaay.
Now, this is where myself and Srk15372 are seeing a disconnect.
If you load up a game, say Street Fighter 2 (champion edition or w/e it doesn’t matter)… your (This Machine) options are going to look as follows.
Button 1 = F Joy 1 X // Button 2 = G Joy 1 Y // Button 3 = R Joy 1 B // Button 4 = T Joy 1 L
This also somehow makes basically none of the controls work until you properly remap them in (this machine) despite having been set in (General) to the same as they were before.
Sorry if this was long-winded, and @Srk15372 please let me know if this is not the same thing you are seeing. I just thought with the way I’m seeing it in my setup I could be more detailed in what’s happening.