Callback syntax changed

call() became overloaded () operator
This commit is contained in:
Nekotekina 2015-01-11 13:43:40 +03:00
parent c36e692411
commit da09477be8
16 changed files with 69 additions and 58 deletions

View file

@ -141,7 +141,7 @@ bool RawSPUThread::Write32(const u64 addr, const u32 value)
{
// calling Exec() directly in SIGSEGV handler may cause problems
// (probably because Exec() creates new thread, faults of this thread aren't handled by this handler anymore)
Emu.GetCallbackManager().Async([this]()
Emu.GetCallbackManager().Async([this](PPUThread& PPU)
{
SPU.Status.SetValue(SPU_STATUS_RUNNING);
Exec();