Some preliminary libretro changes