From 17f697d856b51ec4d43f41858107bdfabb87134c Mon Sep 17 00:00:00 2001 From: hrydgard Date: Sun, 28 Jun 2009 17:38:18 +0000 Subject: [PATCH] fix LLE plugin crashing when not starting dolphin with -d git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3576 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_DSP_LLE/Src/DSPHost.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/Plugins/Plugin_DSP_LLE/Src/DSPHost.cpp b/Source/Plugins/Plugin_DSP_LLE/Src/DSPHost.cpp index 96c3c36943..4eaa99882e 100644 --- a/Source/Plugins/Plugin_DSP_LLE/Src/DSPHost.cpp +++ b/Source/Plugins/Plugin_DSP_LLE/Src/DSPHost.cpp @@ -100,11 +100,13 @@ u32 DSPHost_CodeLoaded(const u8 *ptr, int size) // Always add the ROM. DSPSymbols::AutoDisassembly(0x8000, 0x9000); - m_DebuggerFrame->Refresh(); + if (m_DebuggerFrame) + m_DebuggerFrame->Refresh(); return crc; } void DSPHost_UpdateDebugger() { - m_DebuggerFrame->Refresh(); + if (m_DebuggerFrame) + m_DebuggerFrame->Refresh(); }