mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-23 18:03:31 -05:00
HLE function hooking: Avoid ppcState global.
This commit is contained in:
@@ -51,6 +51,7 @@
|
||||
#include "Core/PatchEngine.h"
|
||||
#include "Core/PowerPC/PPCSymbolDB.h"
|
||||
#include "Core/PowerPC/PowerPC.h"
|
||||
#include "Core/System.h"
|
||||
#include "Core/TitleDatabase.h"
|
||||
#include "VideoCommon/HiresTextures.h"
|
||||
|
||||
@@ -202,7 +203,8 @@ void SConfig::OnNewTitleLoad()
|
||||
Host_NotifyMapLoaded();
|
||||
}
|
||||
CBoot::LoadMapFromFilename();
|
||||
HLE::Reload();
|
||||
auto& system = Core::System::GetInstance();
|
||||
HLE::Reload(system);
|
||||
PatchEngine::Reload();
|
||||
HiresTexture::Update();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user