1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-19 19:16:34 +00:00

Improve logged IO detail.

This commit is contained in:
Thomas Harte
2025-09-15 22:29:22 -04:00
parent f499de3622
commit 39c2db38b7
+3 -1
View File
@@ -236,7 +236,9 @@ public:
page_sideways(*value & 0xf);
}
} else {
Logger::error().append("Unhandled IO access at %04x", address);
Logger::error()
.append("Unhandled IO %s at %04x", is_read(operation) ? "read" : "write", address)
.append_if(!is_read(operation), ": %02x", *value);
}
return duration;
}