mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
Bugfix
This commit is contained in:
parent
32d3d1fbe5
commit
8c00dcd02d
11 changed files with 28 additions and 38 deletions
|
@ -252,9 +252,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().Async([cb](PPUThread& CPU)
|
||||
Emu.GetCallbackManager().Async([=](CPUThread& CPU)
|
||||
{
|
||||
cb(CPU, 1);
|
||||
cb(static_cast<PPUThread&>(CPU), 1);
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -2307,9 +2307,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().Async([cb, cause](PPUThread& CPU)
|
||||
Emu.GetCallbackManager().Async([=](CPUThread& CPU)
|
||||
{
|
||||
cb(CPU, cause);
|
||||
cb(static_cast<PPUThread&>(CPU), cause);
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
@ -2470,9 +2470,9 @@ void RSXThread::Task()
|
|||
|
||||
if (auto cb = m_vblank_handler)
|
||||
{
|
||||
Emu.GetCallbackManager().Async([=](PPUThread& CPU)
|
||||
Emu.GetCallbackManager().Async([=](CPUThread& CPU)
|
||||
{
|
||||
cb(CPU, 1);
|
||||
cb(static_cast<PPUThread&>(CPU), 1);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue