10" with RetroPie 4.6 screen starts, emustation does not

Thanks so much for this. It fixed the exact issue I was trying to solve over here:

I’m on the 8" screen though. Thanks immensely for this piece of code - I was pulling my hair our all weekend.