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.
This commit is contained in:
Lioncash 2023-06-12 09:02:18 -04:00
parent 4e4705e983
commit cbd2a720bb

View File

@ -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