mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Lots more work on making the frame aui stuff functional.
Also added a DSPCORE_STOP state. The DSP-LLE debugger window segmentation faults if it is openned when a game is not running. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5931 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -881,9 +881,16 @@ void CFrame::DoStop()
|
||||
Frame::EndRecordingInput();
|
||||
if(Frame::IsPlayingInput())
|
||||
Frame::EndPlayInput();
|
||||
|
||||
|
||||
// These windows cause segmentation faults if they are open when the emulator
|
||||
// stops. It has something to do with the the wxAuiManager update.
|
||||
if (g_pCodeWindow)
|
||||
{
|
||||
g_pCodeWindow->ToggleDLLWindow(IDM_SOUNDWINDOW, false);
|
||||
g_pCodeWindow->ToggleDLLWindow(IDM_VIDEOWINDOW, false);
|
||||
}
|
||||
|
||||
Core::Stop();
|
||||
UpdateGUI();
|
||||
|
||||
// Destroy the renderer frame when not rendering to main
|
||||
m_RenderFrame->Disconnect(wxID_ANY, wxEVT_SIZE,
|
||||
@ -902,6 +909,8 @@ void CFrame::DoStop()
|
||||
m_RenderFrame->Destroy();
|
||||
m_RenderParent = NULL;
|
||||
|
||||
UpdateGUI();
|
||||
|
||||
// Clean framerate indications from the status bar.
|
||||
m_pStatusBar->SetStatusText(wxT(" "), 0);
|
||||
|
||||
|
Reference in New Issue
Block a user