mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-21 18:05:20 -05:00
Merge pull request #12620 from mitaclaw/jit-interface-cpu-thread-guard
JitInterface::ClearCache: Modernize With CPUThreadGuard
This commit is contained in:
@@ -1752,7 +1752,8 @@ void MenuBar::PatchHLEFunctions()
|
||||
|
||||
void MenuBar::ClearCache()
|
||||
{
|
||||
Core::RunAsCPUThread([] { Core::System::GetInstance().GetJitInterface().ClearCache(); });
|
||||
auto& system = Core::System::GetInstance();
|
||||
system.GetJitInterface().ClearCache(Core::CPUThreadGuard{system});
|
||||
}
|
||||
|
||||
void MenuBar::LogInstructions()
|
||||
|
||||
Reference in New Issue
Block a user