patch UI for libretro