summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2023-04-10 15:38:19 +0200
committerGitHub <noreply@github.com>2023-04-10 15:38:19 +0200
commit4c80c992eb9fdfceee6ff3e6b15a17ac89bc5914 (patch)
tree30b0173c93d94adcba797f73ab308ada90327612 /Source/Core/DolphinQt/Debugger/RegisterWidget.cpp
parentebbbdc49ab3412693c40add3a56183926e0559b7 (diff)
parent23843583bf2fcc349bef18b37e1a8539be3db17d (diff)
Merge pull request #11741 from AdmiralCurtiss/ppc-class
PowerPC: Refactor to class, move to System.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/RegisterWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/RegisterWidget.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp b/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp
index f11df86444..b41fffb39a 100644
--- a/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp
@@ -409,7 +409,9 @@ void RegisterWidget::PopulateTable()
// Special registers
// TB
- AddRegister(16, 5, RegisterType::tb, "TB", PowerPC::ReadFullTimeBaseValue, nullptr);
+ AddRegister(
+ 16, 5, RegisterType::tb, "TB",
+ [this] { return m_system.GetPowerPC().ReadFullTimeBaseValue(); }, nullptr);
// PC
AddRegister(