Skip to content

Commit

Permalink
Avoid exit crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Xele02 committed Feb 19, 2013
1 parent d90a024 commit 0c3d310
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Qt/debugger_disasm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ void Debugger_Disasm::StepHLE()

void Debugger_Disasm::UpdateDialog()
{
if(!isVisible())
return;
ui->DisasmView->setAlign(cpu->getInstructionSize(0));
ui->DisasmView->redraw();
ui->RegList->redraw();
Expand Down
2 changes: 2 additions & 0 deletions Qt/debugger_displaylist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1467,6 +1467,8 @@ void Debugger_DisplayList::FillDisplayListCmd(std::map<int,DListLine>& data, u32

void Debugger_DisplayList::Update()
{
if(!isVisible())
return;
UpdateRenderBuffer();
UpdateRenderBufferList();
UpdateDisplayList();
Expand Down

0 comments on commit 0c3d310

Please sign in to comment.