@paulo-presa-evangelista unless you are changing recalbox.conf in share_init (you shouldn't) you have an install and/or sd problem. try reinstalling and use another sd card if the problem is still there
I think u could try to rename or remove the Mame file configuration for the game nameofrom.cfg if it only affects one game, or the Mame general configuration file default.cfg if the issue affects all Mame games.
From Windows explorer, the path for the files are:
on Recalbox 4.0:
on Recalbox 4.1:
Deleting default.cfg all previous configuration you made for Mame will be deleted Mame will recover its default config.
THis was a very weird experience. I tried and tried and tried, but no progress. I decided to down load and reinstall recalbox, and configuration worked totally fine. I must have messed something up in the main Download?? IDK. Thanks again for your help and bringing us this awesome product.