mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-02 14:58:03 +03: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
|
@ -97,9 +97,9 @@ bool FifoCommandRunnable(void)
|
|||
{
|
||||
u32 iBufferSize = FAKE_GetFifoSize();
|
||||
if (iBufferSize == 0)
|
||||
return false;
|
||||
return false; // can't peek
|
||||
|
||||
u8 Cmd = PeekFifo8(0);
|
||||
u8 Cmd = PeekFifo8(0);
|
||||
u32 iCommandSize = 0;
|
||||
|
||||
switch(Cmd)
|
||||
|
@ -362,12 +362,6 @@ void OpcodeDecoder_Shutdown()
|
|||
|
||||
void OpcodeDecoder_Run()
|
||||
{
|
||||
// just a small check
|
||||
if (g_pDataReader != &g_fifoReader)
|
||||
{
|
||||
MessageBox(NULL, "very strange", "video-plugin", MB_OK);
|
||||
}
|
||||
|
||||
DVSTARTPROFILE();
|
||||
|
||||
while (FifoCommandRunnable())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue