Should fix issue https://github.com/libretro/RetroArch/issues/1039