Fix some unused variable warnings by ifdefing code and made some functions static.
This commit is contained in:
parent
029a5e0edb
commit
b1a044fb7c
|
@ -1137,14 +1137,14 @@ void gfx3d_execute(u8 cmd, u32 param)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void gfx3d_FlushFIFO()
|
static void gfx3d_FlushFIFO()
|
||||||
{
|
{
|
||||||
u32 cmd;
|
#if 1
|
||||||
u32 param;
|
|
||||||
|
|
||||||
GFX_FIFOclear();
|
GFX_FIFOclear();
|
||||||
|
#else
|
||||||
#if 0
|
u32 cmd;
|
||||||
|
u32 param;
|
||||||
|
|
||||||
//INFO("GX FIFO tail at %i, GXstat 0x%08X\n", gxFIFO.tail, gxstat);
|
//INFO("GX FIFO tail at %i, GXstat 0x%08X\n", gxFIFO.tail, gxstat);
|
||||||
if (gxFIFO.tail == 0)
|
if (gxFIFO.tail == 0)
|
||||||
{
|
{
|
||||||
|
@ -1384,7 +1384,7 @@ void gfx3d_sendCommandToFIFO(u32 val)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
void NOPARAMS(u32 val)
|
static void NOPARAMS(u32 val)
|
||||||
{
|
{
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue