Avoid exit crash

This commit is contained in:
Xele02 2013-02-20 00:10:38 +01:00
parent d90a024fc6
commit 0c3d310a31
2 changed files with 4 additions and 0 deletions

View File

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

View File

@ -1467,6 +1467,8 @@ void Debugger_DisplayList::FillDisplayListCmd(std::map<int,DListLine>& data, u32
void Debugger_DisplayList::Update()
{
if(!isVisible())
return;
UpdateRenderBuffer();
UpdateRenderBufferList();
UpdateDisplayList();