From d9037d6c4aef63471b9461c4dfd78300c4ffcd3a Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Fri, 7 Aug 2015 01:59:29 -0500 Subject: Remove perf_dir Dolphin WX option. Move the option for the directory to the Dolphin.ini This way more than DolphinWX can take advantage of it. --- Source/Core/DolphinWX/Main.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'Source/Core/DolphinWX/Main.cpp') diff --git a/Source/Core/DolphinWX/Main.cpp b/Source/Core/DolphinWX/Main.cpp index 43a79ac6f7..150fef7f37 100644 --- a/Source/Core/DolphinWX/Main.cpp +++ b/Source/Core/DolphinWX/Main.cpp @@ -104,12 +104,10 @@ bool DolphinApp::OnInit() bool UseLogger = false; bool selectVideoBackend = false; bool selectAudioEmulation = false; - bool selectPerfDir = false; wxString videoBackendName; wxString audioEmulationName; wxString userPath; - wxString perfDir; #if wxUSE_CMDLINE_PARSER // Parse command lines wxCmdLineEntryDesc cmdLineDesc[] = @@ -159,11 +157,6 @@ bool DolphinApp::OnInit() "User folder path", wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL }, - { - wxCMD_LINE_OPTION, "P", "perf_dir", - "Directory for Linux perf perf-$pid.map file", - wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL - }, { wxCMD_LINE_NONE, nullptr, nullptr, nullptr, wxCMD_LINE_VAL_NONE, 0 } @@ -189,7 +182,6 @@ bool DolphinApp::OnInit() BatchMode = parser.Found("batch"); selectVideoBackend = parser.Found("video_backend", &videoBackendName); selectAudioEmulation = parser.Found("audio_emulation", &audioEmulationName); - selectPerfDir = parser.Found("perf_dir", &perfDir); playMovie = parser.Found("movie", &movieFile); parser.Found("user", &userPath); #endif // wxUSE_CMDLINE_PARSER @@ -207,12 +199,6 @@ bool DolphinApp::OnInit() InitLanguageSupport(); // The language setting is loaded from the user directory UICommon::Init(); - if (selectPerfDir) - { - SConfig::GetInstance().m_perfDir = - WxStrToStr(perfDir); - } - if (selectVideoBackend && videoBackendName != wxEmptyString) SConfig::GetInstance().m_strVideoBackend = WxStrToStr(videoBackendName); -- cgit v1.2.3