mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Fix/workaround at least one class of buffer underruns in the GL plugin. Fix some bad deletes (instead of delete []). etc.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@404 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d9e129ae99
commit
09406d76c4
25 changed files with 117 additions and 69 deletions
|
@ -78,6 +78,11 @@ u8 FAKE_ReadFifo8()
|
|||
return videoBuffer[readptr++];
|
||||
}
|
||||
|
||||
int FAKE_GetPosition()
|
||||
{
|
||||
return readptr;
|
||||
}
|
||||
|
||||
u16 FAKE_ReadFifo16()
|
||||
{
|
||||
u16 val = Common::swap16(*(u16*)(videoBuffer+readptr));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue