Remember Me
Can you confirm which arcade emulator you are running?
We can probably tell from the path the roms are in. Depending on the emulator it will have a different config file.
Here are the options:
MAME versions and romsets on RetroPie