mirror of
https://github.com/stenzek/duckstation.git
synced 2026-11-07 09:36:00 -10:00
Qt: Refresh debugger memory view region on system start
Opening the debugger before starting a game left the RAM view one byte long.
This commit is contained in:
1 file changed
+3
@@ -84,6 +84,9 @@ void DebuggerWindow::onSystemStarted()
|
||||
}
|
||||
|
||||
setUIEnabled(false, true);
|
||||
|
||||
// RAM size and region pointers aren't valid until the system has started.
|
||||
setMemoryViewRegion(std::exchange(m_active_memory_region, Bus::MemoryRegion::Count));
|
||||
}
|
||||
|
||||
void DebuggerWindow::onSystemDestroyed()
|
||||
|
||||
Reference in new issue
Block a user