mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-15 14:42:40 +00:00
Fix debugger startup error
This commit is contained in:
parent
b98b3241e7
commit
8c6622dd82
@ -443,6 +443,8 @@ void RSXDebugger::GetBuffers()
|
|||||||
|
|
||||||
wxImage img(width, height, buffer);
|
wxImage img(width, height, buffer);
|
||||||
wxClientDC dc_canvas(pnl);
|
wxClientDC dc_canvas(pnl);
|
||||||
|
|
||||||
|
if (img.IsOk())
|
||||||
dc_canvas.DrawBitmap(img.Scale(m_panel_width, m_panel_height), 0, 0, false);
|
dc_canvas.DrawBitmap(img.Scale(m_panel_width, m_panel_height), 0, 0, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user