(Libretro) Initial libretro port - no sound yet