summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/CodeWidget.cpp
diff options
context:
space:
mode:
authorLioncache <mai.iam2048@gmail.com>2023-12-18 15:34:15 -0500
committerLioncache <mai.iam2048@gmail.com>2023-12-18 15:46:22 -0500
commit75ec350dc4fa569a504f1d8dde580580c18045d4 (patch)
treed4ba46ba9f7edfd993e13d9bf28cc3f8552736b5 /Source/Core/DolphinQt/Debugger/CodeWidget.cpp
parent514b3e6f55bc74e2c893aa8a044d2fb739f08add (diff)
Core/Debugger_SymbolMap: Remove redundant system parameters from interface
The CPU thread guard already allows access to the system instance. We can remove the system parameter to reduce rendundancy here.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/CodeWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Debugger/CodeWidget.cpp b/Source/Core/DolphinQt/Debugger/CodeWidget.cpp
index 650e17e905..0bf2937dbf 100644
--- a/Source/Core/DolphinQt/Debugger/CodeWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/CodeWidget.cpp
@@ -344,7 +344,7 @@ void CodeWidget::UpdateCallstack()
const bool success = [this, &stack] {
Core::CPUThreadGuard guard(m_system);
- return Dolphin_Debugger::GetCallstack(m_system, guard, stack);
+ return Dolphin_Debugger::GetCallstack(guard, stack);
}();
if (!success)