From cbd2a720bb5e1ff8006246f2834453454e3d730d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 12 Jun 2023 09:02:18 -0400 Subject: [PATCH] InfinityBaseWindow: Remove unnecessary system instance accessor GetFigureList() is a static member function, so we can just call it directly instead of going through the system instance. --- Source/Core/DolphinQt/InfinityBase/InfinityBaseWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/InfinityBase/InfinityBaseWindow.cpp b/Source/Core/DolphinQt/InfinityBase/InfinityBaseWindow.cpp index e0642b14a4..685c582f33 100644 --- a/Source/Core/DolphinQt/InfinityBase/InfinityBaseWindow.cpp +++ b/Source/Core/DolphinQt/InfinityBase/InfinityBaseWindow.cpp @@ -193,7 +193,7 @@ CreateFigureDialog::CreateFigureDialog(QWidget* parent, u8 slot) : QDialog(paren auto* combo_figlist = new QComboBox(); QStringList filterlist; u32 first_entry = 0; - for (const auto& entry : Core::System::GetInstance().GetInfinityBase().GetFigureList()) + for (const auto& entry : IOS::HLE::USB::InfinityBase::GetFigureList()) { const auto figure = entry.second; // Only display entry if it is a piece appropriate for the slot