Fix debugger startup error

This commit is contained in:
Raul Tambre 2014-07-29 11:28:15 +03:00
parent b98b3241e7
commit 8c6622dd82

View File

@ -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