use available helpers

This commit is contained in:
Adrian Conlon committed 2026-03-02 10:50:05 +00:00
1 parent 3fc3b95bbd
commit 199232dd53
1 file changed
+4 -4
+4 -4
View File
@@ -169,10 +169,10 @@ void checker_t::initialise() {
auto& bus = runner();
auto& cpu = bus.CPU();
const std::string read = EightBit::Device::lowered(cpu.RD()) ? "r" : "-";
const std::string write = EightBit::Device::lowered(cpu.WR()) ? "w" : "-";
const std::string memory = EightBit::Device::lowered(cpu.MREQ()) ? "m" : "-";
const std::string io = EightBit::Device::lowered(cpu.IORQ()) ? "i" : "-";
const std::string read = cpu.requestingRead() ? "r" : "-";
const std::string write = cpu.requestingWrite() ? "w" : "-";
const std::string memory = cpu.requestingMemory() ? "m" : "-";
const std::string io = cpu.requestingIO() ? "i" : "-";
addActualCycle(bus.ADDRESS(), bus.DATA(), read + write + memory + io);
});