1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-30 07:55:01 +00:00

Corrects status logging.

This commit is contained in:
Thomas Harte 2018-06-26 20:53:08 -04:00
parent 5b88207477
commit cd464fc7de

View File

@ -853,9 +853,9 @@ void i8272::posit_event(int event_type) {
// Posts whatever is in result_stack_ as a result phase. Be aware that it is a stack, so the
// last thing in it will be returned first.
post_result:
LOGNBR(PADHEX(2) << "Result to " << static_cast<int>(command_[0] & 0x1f) << ", main " << static_cast<int>(main_status_));
LOGNBR(PADHEX(2) << "Result to " << static_cast<int>(command_[0] & 0x1f) << ", main " << static_cast<int>(main_status_) << "; ");
for(std::size_t c = 0; c < result_stack_.size(); c++) {
LOGNBR(static_cast<int>(result_stack_[result_stack_.size() - 1 - c]));
LOGNBR(" " << static_cast<int>(result_stack_[result_stack_.size() - 1 - c]));
}
LOGNBR(std::endl);