From 19c82cfe146f1be01de2166198b665fed91fe8ec Mon Sep 17 00:00:00 2001 From: martinfouilleul Date: Mon, 19 Jun 2023 17:13:56 +0200 Subject: [PATCH] Fix mem_arena_alloc bug in milepost, now debug overlay doesn crash, but doesn't display either (instead it flashes pretty hard, so I disabled it for now. Epilepsy warning if you re-enable it!) --- milepost | 2 +- src/main.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/milepost b/milepost index 2fe683b..d9a9215 160000 --- a/milepost +++ b/milepost @@ -1 +1 @@ -Subproject commit 2fe683b79d25a1b1ef7c3b1777f651358cce09ca +Subproject commit d9a9215fa8a9920d22c5bf38994d17c7b9a0b831 diff --git a/src/main.c b/src/main.c index c1c8c2e..ce29e5d 100644 --- a/src/main.c +++ b/src/main.c @@ -540,7 +540,9 @@ void* orca_runloop(void* user) { if(event->key.code == MP_KEY_D && (event->key.mods & (MP_KEYMOD_SHIFT | MP_KEYMOD_CMD))) { + #if 0 // EPILEPSY WARNING! on windows this has a bug which causes a pretty strong stroboscopic effect debug_overlay_toggle(&app->debugOverlay); + #endif } if(eventHandlers[G_EVENT_KEY_DOWN])