Merge pull request #710 from tambry/debuggererrorfix

Fix debugger startup error
This commit is contained in:
Alexandro Sánchez Bach 2014-07-29 14:38:36 +02:00
commit 08d22a8033
1 changed files with 3 additions and 1 deletions

View File

@ -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);
} }