mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
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:
parent
4e4705e983
commit
cbd2a720bb
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ CreateFigureDialog::CreateFigureDialog(QWidget* parent, u8 slot) : QDialog(paren
|
||||||
auto* combo_figlist = new QComboBox();
|
auto* combo_figlist = new QComboBox();
|
||||||
QStringList filterlist;
|
QStringList filterlist;
|
||||||
u32 first_entry = 0;
|
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;
|
const auto figure = entry.second;
|
||||||
// Only display entry if it is a piece appropriate for the slot
|
// Only display entry if it is a piece appropriate for the slot
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue