Refactors in retroarch.c to do with game reset