Caution with saves !! Batocera5.21 had default the quickshutdown but DONT SAVE, the psx, snes, etc memory card.
You need shutdown from the menu (slow shutdown), for save your memory card.
(with batocera 5.20 and the script from retroflag i dont have any problem in the past...)