diff --git a/platform/osx/godot_main_osx.mm b/platform/osx/godot_main_osx.mm index 391fd1f74a7..7beb5248b42 100644 --- a/platform/osx/godot_main_osx.mm +++ b/platform/osx/godot_main_osx.mm @@ -36,6 +36,14 @@ int main(int argc, char** argv) { + int first_arg = 1; + const char* dbg_arg = "-NSDocumentRevisionsDebugMode"; + printf("arguments\n"); + for (int i=0; i=1 && argv[0][0]=='/') { @@ -74,7 +82,7 @@ int main(int argc, char** argv) { OS_OSX os; - Error err = Main::setup(argv[0],argc-1,&argv[1]); + Error err = Main::setup(argv[0],argc-first_arg,&argv[first_arg]); if (err!=OK) return 255;