fix main config dir on osx and autodetect ogl version when it build

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2630 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
tmator
2009-03-09 10:43:56 +00:00
parent 2f00c0bda9
commit 9635b50a35
6 changed files with 37 additions and 6 deletions

View File

@ -191,7 +191,7 @@ bool DolphinApp::OnInit()
if (!File::Exists("User")) File::CreateDir("User");
if (!File::Exists("User/GC")) File::CreateDir("User/GC");
if (!File::Exists("User/Config")) File::CreateDir("User/Config");
// HACK: Get rid of bogus osx param
if (argc > 1 && wxString(argv[argc - 1]).StartsWith(_("-psn_"))) {
delete argv[argc-1];