mirror of https://github.com/PCSX2/pcsx2.git
Fix segfault in non-dev build by adding extra check for NULL.
This commit is contained in:
parent
390245806a
commit
ec0f9e49c3
|
@ -529,7 +529,7 @@ public:
|
|||
|
||||
GSFrame* GetGsFramePtr() const { return (GSFrame*)wxWindow::FindWindowById( m_id_GsFrame ); }
|
||||
MainEmuFrame* GetMainFramePtr() const { return (MainEmuFrame*)wxWindow::FindWindowById( m_id_MainFrame ); }
|
||||
DisassemblyDialog* GetDisassemblyPtr() const { return (DisassemblyDialog*)wxWindow::FindWindowById( m_id_Disassembler ); }
|
||||
DisassemblyDialog* GetDisassemblyPtr() const { return m_id_Disassembler ? (DisassemblyDialog*)wxWindow::FindWindowById( m_id_Disassembler ) : NULL; }
|
||||
|
||||
void enterDebugMode();
|
||||
void leaveDebugMode();
|
||||
|
|
Loading…
Reference in New Issue