PPU Precompilation: Abort compilation as soon as possible on Emu.Stop()

This commit is contained in:
Elad Ashkenazi 2022-10-03 23:20:03 +03:00 committed by Ivan
parent 87411da95f
commit 4d24ba1f35

View File

@ -3741,6 +3741,11 @@ bool ppu_initialize(const ppu_module& info, bool check_only)
// Allocate "core"
std::lock_guard jlock(g_fxo->get<jit_core_allocator>().sem);
if (Emu.IsStopped())
{
continue;
}
ppu_log.warning("LLVM: Compiling module %s%s", cache_path, obj_name);
// Use another JIT instance