mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-06-24 04:34:58 -06:00
debugger: Don't clear register views when continuing to run code
This commit is contained in:
parent
dbec2c717c
commit
fe70fdcfe5
@ -232,12 +232,11 @@ void RegisterWindow::UpdateIntegerRegister(wxTextCtrl* label, wxTextCtrl* value,
|
||||
|
||||
void RegisterWindow::OnUpdateView()
|
||||
{
|
||||
PPCSnapshot snapshot = {};
|
||||
if (PPCInterpreter_t* hCPU = debugger_lockDebugSession(); hCPU)
|
||||
{
|
||||
snapshot = debugger_getSnapshotFromSession(hCPU);
|
||||
debugger_unlockDebugSession(hCPU);
|
||||
}
|
||||
PPCInterpreter_t* hCPU = debugger_lockDebugSession();
|
||||
if (!hCPU)
|
||||
return;
|
||||
PPCSnapshot snapshot = debugger_getSnapshotFromSession(hCPU);
|
||||
debugger_unlockDebugSession(hCPU);
|
||||
for (int i = 0; i < 32; ++i)
|
||||
{
|
||||
const uint32 registerValue = snapshot.gpr[i];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user