mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-10 19:45:49 +00:00
Minor speedup in texdecoder. More informative fifo error messages.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@249 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
f2b45beb90
commit
683ba7ecae
3 changed files with 17 additions and 20 deletions
|
@ -46,11 +46,11 @@ void Fifo_Shutdown()
|
|||
|
||||
int FAKE_GetFifoSize()
|
||||
{
|
||||
if (size < readptr)
|
||||
{
|
||||
PanicAlert("GFX Fifo underrun encountered.");
|
||||
}
|
||||
return (size - readptr);
|
||||
if (size < readptr)
|
||||
{
|
||||
PanicAlert("GFX Fifo underrun encountered (size = %i, readptr = %i)", size, readptr);
|
||||
}
|
||||
return (size - readptr);
|
||||
}
|
||||
|
||||
u8 FAKE_PeekFifo8(u32 _uOffset)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue