From 5ded69d437dae31b4cfb3460042145b00cee1546 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Thu, 25 Apr 2024 20:07:00 +0200 Subject: [PATCH] readable state --- debugger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debugger.cpp b/debugger.cpp index 2df2051..30da333 100644 --- a/debugger.cpp +++ b/debugger.cpp @@ -731,7 +731,7 @@ void serialize_state(console *const cnsl, const bus *const b, const std::string FILE *fh = fopen(filename.c_str(), "w"); if (fh) { - if (json_dumpf(j, fh, 0) == 0) + if (json_dumpf(j, fh, JSON_INDENT(4)) == 0) ok = true; fclose(fh);