diff --git a/rpcs3/Gui/RSXDebugger.cpp b/rpcs3/Gui/RSXDebugger.cpp index 65e64e72b7..b145d49079 100644 --- a/rpcs3/Gui/RSXDebugger.cpp +++ b/rpcs3/Gui/RSXDebugger.cpp @@ -443,7 +443,9 @@ void RSXDebugger::GetBuffers() wxImage img(width, height, buffer); wxClientDC dc_canvas(pnl); - dc_canvas.DrawBitmap(img.Scale(m_panel_width, m_panel_height), 0, 0, false); + + if (img.IsOk()) + dc_canvas.DrawBitmap(img.Scale(m_panel_width, m_panel_height), 0, 0, false); } // Draw Texture