From 4a08e8cd0b9bb952b81e7d5753efb46506107001 Mon Sep 17 00:00:00 2001 From: raven02 Date: Sat, 25 Jun 2016 22:36:48 +0800 Subject: [PATCH] sys_ppu_thread_create break fix (#1824) --- rpcs3/Emu/Cell/Modules/sys_ppu_thread_.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/Modules/sys_ppu_thread_.cpp b/rpcs3/Emu/Cell/Modules/sys_ppu_thread_.cpp index 07bc69d545..7078ff70c8 100644 --- a/rpcs3/Emu/Cell/Modules/sys_ppu_thread_.cpp +++ b/rpcs3/Emu/Cell/Modules/sys_ppu_thread_.cpp @@ -43,7 +43,7 @@ s32 sys_ppu_thread_create(vm::ptr thread_id, u32 entry, u64 arg, s32 prio, } // Dirty hack for sound: confirm the creation of _mxr000 event queue - if (std::memcmp(threadname.get_ptr(), "_cellsurMixerMain", 18) == 0) + if (threadname && std::memcmp(threadname.get_ptr(), "_cellsurMixerMain", 18) == 0) { while (!idm::select([](u32, lv2_event_queue_t& eq) {