readable state
This commit is contained in:
parent
e020ff525f
commit
5ded69d437
1 changed files with 1 additions and 1 deletions
|
@ -731,7 +731,7 @@ void serialize_state(console *const cnsl, const bus *const b, const std::string
|
||||||
|
|
||||||
FILE *fh = fopen(filename.c_str(), "w");
|
FILE *fh = fopen(filename.c_str(), "w");
|
||||||
if (fh) {
|
if (fh) {
|
||||||
if (json_dumpf(j, fh, 0) == 0)
|
if (json_dumpf(j, fh, JSON_INDENT(4)) == 0)
|
||||||
ok = true;
|
ok = true;
|
||||||
|
|
||||||
fclose(fh);
|
fclose(fh);
|
||||||
|
|
Loading…
Add table
Reference in a new issue