mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Fix a nasty dualcore hang in EFB read (see r3658 comment...)
Also fix an issue reported by baby.lueshi (issue 1074) in nJoy related to half press button being always pressed when unset. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3661 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
06b65ea425
commit
936225eee4
4 changed files with 34 additions and 32 deletions
|
@ -146,19 +146,19 @@ void Fifo_EnterLoop(const SVideoInitialize &video_initialize)
|
|||
video_initialize.pPeekMessages();
|
||||
#endif
|
||||
|
||||
if (g_EFBAccessRequested)
|
||||
{
|
||||
Video_OnThreadAccessEFB();
|
||||
g_EFBAccessRequested = false;
|
||||
}
|
||||
|
||||
// Draw XFB if CP/GPfifo isn't used
|
||||
if (g_XFBUpdateRequested)
|
||||
{
|
||||
Video_UpdateXFB(NULL, 0, 0, 0, FALSE);
|
||||
}
|
||||
|
||||
if (g_EFBAccessRequested)
|
||||
{
|
||||
Video_OnThreadAccessEFB();
|
||||
}
|
||||
|
||||
s_criticalFifo.Enter();
|
||||
|
||||
// check if we are able to run this buffer
|
||||
if ((_fifo.bFF_GPReadEnable) && _fifo.CPReadWriteDistance && !(_fifo.bFF_BPEnable && _fifo.bFF_Breakpoint))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue