mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
Debugger: Avoid ppcState global.
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user