(libretro) Cleaner way to set variables at runtime