diff options
Diffstat (limited to 'platform/iphone/godot_iphone.cpp')
-rw-r--r-- | platform/iphone/godot_iphone.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/iphone/godot_iphone.cpp b/platform/iphone/godot_iphone.cpp index eb3f17736a..b86af007f8 100644 --- a/platform/iphone/godot_iphone.cpp +++ b/platform/iphone/godot_iphone.cpp @@ -37,6 +37,7 @@ static OSIPhone* os = NULL; extern "C" { int add_path(int p_argc, char** p_args); +int add_cmdline(int p_argc, char** p_args); }; int iphone_main(int width, int height, int argc, char** argv) { @@ -67,6 +68,7 @@ int iphone_main(int width, int height, int argc, char** argv) { }; fargv[argc] = NULL; argc = add_path(argc, fargv); + argc = add_cmdline(argc, fargv); printf("os created\n"); Error err = Main::setup(fargv[0], argc - 1, &fargv[1], false); |