mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-27 18:52:11 -04:00
ce94e91ba2
Windows module paths (GetModuleFileNameA -> C:\Games\...\TombaRecomp.exe) were written into the report with raw backslashes, producing invalid JSON that parsers reject — a user-submitted crash report (issue #1) could not be parsed without manual sanitizing. Add a json_escape() helper and route both the faulting-module path and the stack-scan module names through it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>