mirror of https://github.com/RPCS3/rpcs3.git
Merge pull request #710 from tambry/debuggererrorfix
Fix debugger startup error
This commit is contained in:
commit
08d22a8033
|
@ -443,7 +443,9 @@ void RSXDebugger::GetBuffers()
|
||||||
|
|
||||||
wxImage img(width, height, buffer);
|
wxImage img(width, height, buffer);
|
||||||
wxClientDC dc_canvas(pnl);
|
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
|
// Draw Texture
|
||||||
|
|
Loading…
Reference in New Issue