From fc13841a40f5d7cf0a3b191f254c4dc89cea85ba Mon Sep 17 00:00:00 2001 From: skal Date: Sun, 15 Feb 2026 09:43:48 +0100 Subject: fix(cli): enable WAV dump without DEMO_HEADLESS requirement Split conditional compilation so --dump-wav works in normal builds. Previously required cmake -DDEMO_HEADLESS=ON, now only needs !STRIP_ALL. Co-Authored-By: Claude Sonnet 4.5 --- src/app/main.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/app/main.cc b/src/app/main.cc index e19f05b..90e3015 100644 --- a/src/app/main.cc +++ b/src/app/main.cc @@ -242,7 +242,9 @@ int main(int argc, char** argv) { platform_shutdown(&platform_state); return 0; } +#endif +#if !defined(STRIP_ALL) // In WAV dump mode, run headless simulation and write audio to file if (dump_wav) { printf("Running WAV dump simulation...\n"); -- cgit v1.2.3