mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
JitInterface: Refactor to class, move to System.
This commit is contained in:
parent
db40348c86
commit
9217a9eba4
21 changed files with 246 additions and 182 deletions
|
@ -76,7 +76,7 @@ TEST(PageFault, PageFault)
|
|||
Common::WriteProtectMemory(data, PAGE_GRAN, false);
|
||||
|
||||
PageFaultFakeJit pfjit(Core::System::GetInstance());
|
||||
JitInterface::SetJit(&pfjit);
|
||||
Core::System::GetInstance().GetJitInterface().SetJit(&pfjit);
|
||||
pfjit.m_data = data;
|
||||
|
||||
auto start = std::chrono::high_resolution_clock::now();
|
||||
|
@ -88,7 +88,7 @@ TEST(PageFault, PageFault)
|
|||
};
|
||||
|
||||
EMM::UninstallExceptionHandler();
|
||||
JitInterface::SetJit(nullptr);
|
||||
Core::System::GetInstance().GetJitInterface().SetJit(nullptr);
|
||||
|
||||
fmt::print("page fault timing:\n");
|
||||
fmt::print("start->HandleFault {} ns\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue