mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
Probably a good idea to check s_efbAccessRequested.
If EFB access still seems slow, please check DSP stuff instead... git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3771 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d85f5a6937
commit
5c7844df69
1 changed files with 48 additions and 45 deletions
|
@ -525,6 +525,8 @@ static volatile u32 s_AccessEFBResult = 0;
|
||||||
|
|
||||||
void VideoFifo_CheckEFBAccess()
|
void VideoFifo_CheckEFBAccess()
|
||||||
{
|
{
|
||||||
|
if (s_efbAccessRequested)
|
||||||
|
{
|
||||||
s_efbAccessRequested = false;
|
s_efbAccessRequested = false;
|
||||||
|
|
||||||
Common::MemFence();
|
Common::MemFence();
|
||||||
|
@ -580,6 +582,7 @@ void VideoFifo_CheckEFBAccess()
|
||||||
}
|
}
|
||||||
|
|
||||||
s_efbResponseEvent.Set();
|
s_efbResponseEvent.Set();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 Video_AccessEFB(EFBAccessType type, u32 x, u32 y)
|
u32 Video_AccessEFB(EFBAccessType type, u32 x, u32 y)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue