mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
State: Avoid Global System Accessor
This commit is contained in:
parent
5a81916ee9
commit
0d4cb5ddc7
10 changed files with 81 additions and 75 deletions
|
@ -22,6 +22,7 @@
|
|||
#include "Core/Config/MainSettings.h"
|
||||
#include "Core/Core.h"
|
||||
#include "Core/State.h"
|
||||
#include "Core/System.h"
|
||||
|
||||
#include "DolphinQt/Host.h"
|
||||
#include "DolphinQt/QtUtils/ModalMessageBox.h"
|
||||
|
@ -129,7 +130,7 @@ void RenderWidget::dropEvent(QDropEvent* event)
|
|||
return;
|
||||
}
|
||||
|
||||
State::LoadAs(path.toStdString());
|
||||
State::LoadAs(Core::System::GetInstance(), path.toStdString());
|
||||
}
|
||||
|
||||
void RenderWidget::OnHideCursorChanged()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue