upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authoraslan2142 <jan.trencansky@protonmail.com>2026-11-26 00:02:32 +0100
committerGitHub <noreply@github.com>2026-11-26 00:02:32 +0100
commitffcfe68f12891826a2b15e19f31149d8bb44e778 (patch)
tree6a26540f86309861de4b8c254bffd50e070cb4d1 /runtime/src/main.cpp
parenta0723a9e9261705f3d6d6619ee88b172fd0fc90a (diff)
parentf6cb4aedfc01d8e8421122643ea668ae71a6abf5 (diff)
Merge pull request #2137 from Snooozs/dev-overlay
runtime: LEONIDA_DEV_OVERLAY shows what the runtime is doing over the title's window (RT-DEV-OVERLAY)
Diffstat (limited to 'runtime/src/main.cpp')
-rw-r--r--runtime/src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/src/main.cpp b/runtime/src/main.cpp
index 28949830b..1b55264fb 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"
@@ -565,6 +566,7 @@ int wmain(int argc, wchar_t** argv) {
565 std::fflush(stdout); 566 std::fflush(stdout);
566 keep_title_watchdog_kicked(main_module.base); 567 keep_title_watchdog_kicked(main_module.base);
567 start_title_peek(main_module.base); 568 start_title_peek(main_module.base);
569 leonida::dev_overlay::start(); // LEONIDA_DEV_OVERLAY=1
568 leonida::thread_sampler::start(main_module.base, main_module.size); // LEONIDA_SAMPLE_MS (diagnostic) 570 leonida::thread_sampler::start(main_module.base, main_module.size); // LEONIDA_SAMPLE_MS (diagnostic)
569#ifdef LEONIDA_VULKAN_DEVICE 571#ifdef LEONIDA_VULKAN_DEVICE
570 SetConsoleCtrlHandler(&stop_compiles_on_console_exit, TRUE); 572 SetConsoleCtrlHandler(&stop_compiles_on_console_exit, TRUE);