mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Improve for my last commit, also reset the VideoBuffer and Forget turn on GPReadEnable. If this is not enoughs for GC games. I will replace CPReadWriteDistance = 0 for ProcessFifoAllDistance.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6974 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
3078db08c7
commit
c0571ae9de
3 changed files with 9 additions and 2 deletions
|
@ -129,6 +129,12 @@ void Fifo_SendFifoData(u8* _uData, u32 len)
|
|||
size += len;
|
||||
}
|
||||
|
||||
void ResetVideoBuffer()
|
||||
{
|
||||
g_pVideoData = videoBuffer;
|
||||
size = 0;
|
||||
}
|
||||
|
||||
|
||||
// Description: Main FIFO update loop
|
||||
// Purpose: Keep the Core HW updated about the CPU-GPU distance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue