diff --git a/Source/Core/Core/Src/Core.cpp b/Source/Core/Core/Src/Core.cpp index 10accf89a5..02a4750bb3 100644 --- a/Source/Core/Core/Src/Core.cpp +++ b/Source/Core/Core/Src/Core.cpp @@ -205,6 +205,7 @@ bool Init() emuThreadGoing.Init(); // This will execute EmuThread() further down in this file g_EmuThread = new Common::Thread(EmuThread, NULL); + emuThreadGoing.MsgWait(); emuThreadGoing.Shutdown(); diff --git a/Source/Core/DebuggerWX/Src/CodeWindow.cpp b/Source/Core/DebuggerWX/Src/CodeWindow.cpp index a27d7767fc..98e9d0b2f1 100644 --- a/Source/Core/DebuggerWX/Src/CodeWindow.cpp +++ b/Source/Core/DebuggerWX/Src/CodeWindow.cpp @@ -197,8 +197,6 @@ void CCodeWindow::OnKeyDown(wxKeyEvent& event) void CCodeWindow::OnHostMessage(wxCommandEvent& event) { - return; - switch (event.GetId()) { case IDM_NOTIFYMAPLOADED: @@ -388,7 +386,6 @@ void CCodeWindow::UpdateLists() void CCodeWindow::UpdateCallstack() { - return; //if (PowerPC::GetState() == PowerPC::CPU_POWERDOWN) return; //if (Core::GetState() == Core::CORE_STOPPING) return; @@ -629,7 +626,6 @@ bool CCodeWindow::JITBlockLinking() } -/////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Toolbar void CCodeWindow::InitBitmaps() { @@ -670,16 +666,10 @@ void CCodeWindow::PopulateToolbar(wxAuiToolBar* toolBar) // the changes toolBar->Realize(); } -/////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - -/////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Update GUI - void CCodeWindow::Update() { - return; - if (!codeview) return; codeview->Refresh(); diff --git a/Source/Core/VideoCommon/Src/VideoConfig.cpp b/Source/Core/VideoCommon/Src/VideoConfig.cpp index 5ea67d0e44..df54fa146a 100644 --- a/Source/Core/VideoCommon/Src/VideoConfig.cpp +++ b/Source/Core/VideoCommon/Src/VideoConfig.cpp @@ -95,9 +95,9 @@ void VideoConfig::Load(const char *ini_file) iniFile.Get("Hardware", "Adapter", &iAdapter, 0); if (iAdapter == -1) iAdapter = 0; - iniFile.Get("Hardware", "WindowedRes", &iWindowedRes, 0); + // iniFile.Get("Hardware", "WindowedRes", &iWindowedRes, 0); iniFile.Get("Hardware", "VSync", &bVsync, 0); - iniFile.Get("Hardware", "FullscreenRes", &iFSResolution, 0); + // iniFile.Get("Hardware", "FullscreenRes", &iFSResolution, 0); iniFile.Get("Hardware", "SimpleFB", &bSimpleFB, false); // Load common settings @@ -174,9 +174,9 @@ void VideoConfig::Save(const char *ini_file) iniFile.Set("Hacks", "ProjectionHack", iPhackvalue); iniFile.Set("Hardware", "Adapter", iAdapter); - iniFile.Set("Hardware", "WindowedRes", iWindowedRes); + // iniFile.Set("Hardware", "WindowedRes", iWindowedRes); iniFile.Set("Hardware", "VSync", bVsync); - iniFile.Set("Hardware", "FullscreenRes", iFSResolution); + // iniFile.Set("Hardware", "FullscreenRes", iFSResolution); iniFile.Set("Hardware", "SimpleFB", bSimpleFB); iniFile.Save(ini_file);