Minor lv2 / GCM updates and double-click loading

This commit is contained in:
Alexandro Sánchez Bach 2014-08-26 01:45:15 +02:00
parent 13fec1cd9a
commit 5bd85bd4eb
6 changed files with 36 additions and 13 deletions

View file

@ -18,6 +18,7 @@
#endif
#include "Gui/GLGSFrame.h"
#include <wx/stdpaths.h>
#ifdef _WIN32
#include <wx/msw/wrapwin.h>
@ -114,10 +115,13 @@ bool Rpcs3App::OnInit()
SetAppName(_PRGNAME_);
wxInitAllImageHandlers();
// RPCS3 assumes the current working directory is the folder where it is contained, so we make sure this is true
const wxString executablePath = wxStandardPaths::Get().GetExecutablePath();
wxSetWorkingDirectory(wxPathOnly(executablePath));
main_thread = std::this_thread::get_id();
Ini.Load();
m_MainFrame = new MainFrame();
SetTopWindow(m_MainFrame);
Emu.Init();