I'm running batocera.linux 5.23 using a wireless Xbox 360 controller and when I run a game with reicast, my controllerP1.cfg reset to this and I loose all my settings:
[compat]
[emulator]
mapping_name = Xbox 360 Wireless Receiver (XBOX)
[dreamcast]
Also if i make any changes in emu.cfg, it is also reset back to defaults. Everything was working fine about 2 version ago but it hasn't work since I updated.