Refactor libretro_fceumm