From 7baabe99d178b6f096909c71cd92af0cbcce1e43 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 14 May 2017 16:49:25 -0400 Subject: Host: Get rid of Host_SetStartupDebuggingParameters() This is something that should be the responsibility of the frontend booting the game. Making this part of the host 'interface' inherently requires frontends to leak internal details (much like the other UI-related functions in the interface). This also decouples more behavior from the debugger and the initialization process in the wx frontend. This also eliminates several usages of the parent menubar in the debugger code window. --- Source/Core/DolphinNoGUI/MainNoGUI.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Source/Core/DolphinNoGUI/MainNoGUI.cpp') diff --git a/Source/Core/DolphinNoGUI/MainNoGUI.cpp b/Source/Core/DolphinNoGUI/MainNoGUI.cpp index 5c24b65a40..ce296251ed 100644 --- a/Source/Core/DolphinNoGUI/MainNoGUI.cpp +++ b/Source/Core/DolphinNoGUI/MainNoGUI.cpp @@ -115,13 +115,6 @@ void Host_RequestRenderWindowSize(int width, int height) { } -void Host_SetStartupDebuggingParameters() -{ - SConfig& StartUp = SConfig::GetInstance(); - StartUp.bEnableDebugging = false; - StartUp.bBootToPause = false; -} - bool Host_UIHasFocus() { return false; -- cgit v1.2.3