Commit f2878411 authored by Stephen Anthony's avatar Stephen Anthony
Browse files

libretro: Don't reload non-existent surfaces.

parent 95c8203f
Pipeline #12123 passed with stages
in 2 minutes and 6 seconds
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment