diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-15 09:43:48 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-15 09:43:48 +0100 |
| commit | fc13841a40f5d7cf0a3b191f254c4dc89cea85ba (patch) | |
| tree | 1baf5bcae43b27211316ad72f9842d4a295e05d5 /src/app/main.cc | |
| parent | 786ace179b65d8bc187b8dec452da3e23ecf47fb (diff) | |
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 <noreply@anthropic.com>
Diffstat (limited to 'src/app/main.cc')
| -rw-r--r-- | src/app/main.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |
