align hexa output
This commit is contained in:
@@ -100,7 +100,7 @@ void OutputFileLogisim(BinaryData& a_Data, const std::string& fileName, const st
|
||||
if (cursor % 8 == 0) {
|
||||
file << std::setfill('0') << std::setw(4) << std::hex << cursor << std::dec << ": ";
|
||||
}
|
||||
file << std::hex << number << std::dec << (((cursor + 1) % 8 == 0) ? "\n" : " ");
|
||||
file << std::setfill('0') << std::setw(8) << std::hex << number << std::dec << (((cursor + 1) % 8 == 0) ? "\n" : " ");
|
||||
cursor++;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user