This usuall happens on the Pi4 when you're using a 4k resolution, for some reason the setup dialogs are not properly displayed.
Edit the config.txt file on your SD card (you can edit it from a PC) and add 2 lines at the end:
@kingcosmuder thats all i got running the command however i tired some dreamcast using redream and both games i tried, sonic adventure and marvel vs capcom 2 both ran 60 fps consistently so i believe its working now
@mitu thanks for the codeblocks sugerence i never ear about it.
In raspberry 3 retroflag cases if you use default script if you push power button it shutdown the pi and reset button reboot it.
With this code the power button, shutdown the pi saving changes and the reset button restart only emulationstation if you are in main menu, or exit game if you are in a game.
I checked pins and are the same but i dont know why in pi4 you push the button and the pi do nothing 😟