diff options
Diffstat (limited to 'runtime/src/main.cpp')
| -rw-r--r-- | runtime/src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/src/main.cpp b/runtime/src/main.cpp index 094aaa321..1adacab85 100644 --- a/runtime/src/main.cpp +++ b/runtime/src/main.cpp | |||
| @@ -149,6 +149,7 @@ void start_title_peek(std::uint8_t* base) { | |||
| 149 | #include "mods.h" | 149 | #include "mods.h" |
| 150 | #include "pe_loader.h" | 150 | #include "pe_loader.h" |
| 151 | #include "thread_stacks.h" | 151 | #include "thread_stacks.h" |
| 152 | #include "dev_overlay.h" | ||
| 152 | #include "thread_sampler.h" | 153 | #include "thread_sampler.h" |
| 153 | #include "title_page_watch.h" | 154 | #include "title_page_watch.h" |
| 154 | #include "title_geometry_watch.h" | 155 | #include "title_geometry_watch.h" |
| @@ -561,6 +562,7 @@ int wmain(int argc, wchar_t** argv) { | |||
| 561 | std::fflush(stdout); | 562 | std::fflush(stdout); |
| 562 | keep_title_watchdog_kicked(main_module.base); | 563 | keep_title_watchdog_kicked(main_module.base); |
| 563 | start_title_peek(main_module.base); | 564 | start_title_peek(main_module.base); |
| 565 | leonida::dev_overlay::start(); // LEONIDA_DEV_OVERLAY=1 | ||
| 564 | leonida::thread_sampler::start(main_module.base, main_module.size); // LEONIDA_SAMPLE_MS (diagnostic) | 566 | leonida::thread_sampler::start(main_module.base, main_module.size); // LEONIDA_SAMPLE_MS (diagnostic) |
| 565 | #ifdef LEONIDA_VULKAN_DEVICE | 567 | #ifdef LEONIDA_VULKAN_DEVICE |
| 566 | SetConsoleCtrlHandler(&stop_compiles_on_console_exit, TRUE); | 568 | SetConsoleCtrlHandler(&stop_compiles_on_console_exit, TRUE); |