PPU/LV2: Make thread-lists scheduling atomic

This commit is contained in:
eladash 2019-04-25 17:27:50 +03:00 committed by Ivan
parent 500a4fa2fb
commit 050339bb3e
14 changed files with 166 additions and 115 deletions

View file

@ -228,7 +228,7 @@ error_code cellMsgDialogOpen2(u32 type, vm::cptr<char> msgString, vm::ptr<CellMs
Emu.CallAfter([&]()
{
dlg->Create(msgString.get_ptr());
lv2_obj::awake(ppu);
lv2_obj::awake(&ppu);
});
while (!ppu.state.test_and_reset(cpu_flag::signal))