Updates to libretro.c