From 5f46534b72974d59a81410ef2d0be1d90bec708d Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Sun, 5 Oct 2014 12:03:14 +0400 Subject: [PATCH] RSX fix Forgot to rollback these lines. --- rpcs3/Emu/RSX/RSXThread.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/rpcs3/Emu/RSX/RSXThread.cpp b/rpcs3/Emu/RSX/RSXThread.cpp index b1de17eb0e..509ff8b303 100644 --- a/rpcs3/Emu/RSX/RSXThread.cpp +++ b/rpcs3/Emu/RSX/RSXThread.cpp @@ -296,10 +296,9 @@ void RSXThread::DoCmd(const u32 fcmd, const u32 cmd, const u32 args_addr, const if(m_flip_handler) { auto cb = m_flip_handler; - Emu.GetCallbackManager().Register([cb]() + Emu.GetCallbackManager().Async([cb]() { cb(1); - return 0; }); } @@ -1986,10 +1985,9 @@ void RSXThread::DoCmd(const u32 fcmd, const u32 cmd, const u32 args_addr, const { const u32 cause = ARGS(0); auto cb = m_user_handler; - Emu.GetCallbackManager().Register([cb, cause]() + Emu.GetCallbackManager().Async([cb, cause]() { cb(cause); - return 0; }); } break; @@ -2153,10 +2151,9 @@ void RSXThread::Task() if (m_vblank_handler) { auto cb = m_vblank_handler; - Emu.GetCallbackManager().Register([cb]() + Emu.GetCallbackManager().Async([cb]() { cb(1); - return 0; }); } continue;