[macOS] Attempt to hackfix the PPU LLVM compilation regression (#19103)

This commit is contained in:
schm1dtmac
2026-08-25 09:32:12 +03:00
committed by Elad
parent 448cc23fac
commit bd9c4705f2
+3 -2
View File
@@ -5308,8 +5308,9 @@ bool ppu_initialize(const ppu_module<lv2_obj>& info, bool check_only, u64 file_s
// Set low priority
thread_ctrl::scoped_priority low_prio(-1);
jit_write_guard jit_guard;
#ifdef __APPLE__
pthread_jit_write_protect_np(false);
#endif
for (usz i = (*work_cv)++; i < workload.size(); i = (*work_cv)++, (*work_done)++, g_progr_pdone++)
{
if (cpu ? cpu->state.all_of(cpu_flag::exit) : Emu.IsStopped())