mirror of
https://github.com/zoriya/ComSquare.git
synced 2025-12-20 06:05:11 +00:00
Displaying ??? when we don't know what we read on the bus's debugger
This commit is contained in:
@@ -15,12 +15,12 @@ namespace ComSquare::Debugger
|
||||
{
|
||||
//! @brief The struct used to represent memory bus logs.
|
||||
struct BusLog {
|
||||
BusLog(bool write, uint24_t addr, std::shared_ptr<Memory::AMemory> &accessor, uint8_t oldData, uint8_t newData);
|
||||
BusLog(bool write, uint24_t addr, std::shared_ptr<Memory::AMemory> &accessor, std::optional<uint8_t> oldData, uint8_t newData);
|
||||
|
||||
bool write;
|
||||
uint24_t addr;
|
||||
std::shared_ptr<Memory::AMemory> accessor;
|
||||
uint8_t oldData;
|
||||
std::optional<uint8_t> oldData;
|
||||
uint8_t newData;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user