Bus: Log when RAM_SIZE changes

This commit is contained in:
Stenzek 2024-07-23 23:00:44 +10:00
parent 68575d15a4
commit dce1221021
No known key found for this signature in database

View file

@ -1299,6 +1299,9 @@ void Bus::HWHandlers::MemCtrl2Write(PhysicalMemoryAddress address, u32 value)
if (offset == 0x00) if (offset == 0x00)
{ {
if (s_ram_size_reg != value)
DEV_LOG("RAM size register set to 0x{:08X}", value);
s_ram_size_reg = value; s_ram_size_reg = value;
} }
else else