old gxfifo: fix bug which broke galactik football
This commit is contained in:
parent
7a2b970aff
commit
119deba104
|
@ -2770,22 +2770,18 @@ static void NOPARAMS()
|
||||||
|
|
||||||
void gfx3d_sendCommandToFIFO(u32 val)
|
void gfx3d_sendCommandToFIFO(u32 val)
|
||||||
{
|
{
|
||||||
|
//friendly reminder: be careful to handle the case where several unpacked noparams commands get sent in a row!
|
||||||
|
|
||||||
if (clCmd == 0)
|
if (clCmd == 0)
|
||||||
{
|
{
|
||||||
clCmd = val;
|
clCmd = val;
|
||||||
|
NOPARAMS();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#ifdef _3D_LOG
|
#ifdef _3D_LOG
|
||||||
INFO("GFX FIFO: Send GFX 3D cmd 0x%02X to FIFO (0x%08X)\n", clCmd & 0xFF, val);
|
INFO("GFX FIFO: Send GFX 3D cmd 0x%02X to FIFO (0x%08X)\n", clCmd & 0xFF, val);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
NOPARAMS();
|
|
||||||
if (clCmd == 0)
|
|
||||||
{
|
|
||||||
clCmd = val;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
switch (clCmd & 0xFF)
|
switch (clCmd & 0xFF)
|
||||||
{
|
{
|
||||||
case 0x10: // MTX_MODE - Set Matrix Mode (W)
|
case 0x10: // MTX_MODE - Set Matrix Mode (W)
|
||||||
|
|
Loading…
Reference in New Issue