Debugger: Avoid ppcState global.

This commit is contained in:
Admiral H. Curtiss 2023-01-10 05:14:32 +01:00
parent bfc951311f
commit 8adabb86cf
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
8 changed files with 54 additions and 31 deletions

View file

@ -24,6 +24,7 @@
#include "Core/PowerPC/MMU.h"
#include "Core/PowerPC/PPCSymbolDB.h"
#include "Core/PowerPC/PowerPC.h"
#include "Core/System.h"
#include "DolphinQt/Host.h"
#include "DolphinQt/Settings.h"
@ -328,7 +329,7 @@ void CodeWidget::UpdateCallstack()
std::vector<Dolphin_Debugger::CallstackEntry> stack;
bool success = Dolphin_Debugger::GetCallstack(stack);
bool success = Dolphin_Debugger::GetCallstack(Core::System::GetInstance(), stack);
if (!success)
{