summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 870f7d31b8..bbb16d1507 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -2459,11 +2459,12 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
}
#endif
+ OS::get_singleton()->benchmark_end_measure("Startup", "Main::Setup");
+
if (p_second_phase) {
return setup2();
}
- OS::get_singleton()->benchmark_end_measure("Startup", "Main::Setup");
return OK;
error: