Skip to content

Commit

Permalink
Bus: Log when RAM_SIZE changes
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jul 23, 2024
1 parent 68575d1 commit dce1221
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/bus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1299,6 +1299,9 @@ void Bus::HWHandlers::MemCtrl2Write(PhysicalMemoryAddress address, u32 value)

if (offset == 0x00)
{
if (s_ram_size_reg != value)
DEV_LOG("RAM size register set to 0x{:08X}", value);

s_ram_size_reg = value;
}
else
Expand Down

0 comments on commit dce1221

Please sign in to comment.