From 1f5908dc51d4a4b8f18fd9d21d7fba93aa83ce11 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 11 Nov 2020 20:26:04 -0500 Subject: [PATCH] Corrects logging output. --- Components/DiskII/IWM.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Components/DiskII/IWM.cpp b/Components/DiskII/IWM.cpp index 6730abe9b..bd81ddfa3 100644 --- a/Components/DiskII/IWM.cpp +++ b/Components/DiskII/IWM.cpp @@ -99,7 +99,7 @@ uint8_t IWM::read(int address) { bit 6: 1 = write state (0 = underrun has occurred; 1 = no underrun so far). bit 7: 1 = write data buffer ready for data (1 = ready; 0 = busy). */ -// LOG("Reading write handshake: " << PADHEX(2) << (0x3f | write_handshake_)); +// LOG("Reading write handshake: " << PADHEX(2) << int(0x3f | write_handshake_)); return 0x3f | write_handshake_; } @@ -341,7 +341,7 @@ void IWM::select_shift_mode() { shift_register_ = next_output_; write_handshake_ |= 0x80 | 0x40; output_bits_remaining_ = 8; - LOG("Seeding output with " << PADHEX(2) << shift_register_); + LOG("Seeding output with " << PADHEX(2) << int(shift_register_)); } }