libretro: Don't reload non-existent surfaces.

This commit is contained in:
Stephen Anthony 2021-01-23 13:08:16 -03:30
parent 95c8203f8d
commit f28784112a
1 changed files with 2 additions and 0 deletions

View File

@ -877,8 +877,10 @@ void FrameBuffer::resetSurfaces()
case EventHandlerState::EMULATION:
case EventHandlerState::PAUSE:
case EventHandlerState::PLAYBACK:
#ifdef GUI_SUPPORT
myMsg.surface->reload();
myStatsMsg.surface->reload();
#endif
myTIASurface->resetSurfaces();
break;