mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
Rename parameter in gSPBranchLessW
This commit is contained in:
parent
ae67daca9f
commit
a7df7c13ac
|
@ -1293,7 +1293,7 @@ void gSPBranchLessZ( u32 branchdl, u32 vtx, u32 zval )
|
|||
#endif
|
||||
}
|
||||
|
||||
void gSPBranchLessW( u32 branchdl, u32 vtx, u32 zval )
|
||||
void gSPBranchLessW( u32 branchdl, u32 vtx, u32 wval )
|
||||
{
|
||||
const u32 address = RSP_SegmentToPhysical( branchdl );
|
||||
|
||||
|
@ -1301,18 +1301,18 @@ void gSPBranchLessW( u32 branchdl, u32 vtx, u32 zval )
|
|||
#ifdef DEBUG
|
||||
DebugMsg( DEBUG_HIGH | DEBUG_ERROR, "// Specified display list at invalid address\n" );
|
||||
DebugMsg( DEBUG_HIGH | DEBUG_HANDLED, "gSPBranchLessZ( 0x%08X, %i, %i );\n",
|
||||
branchdl, vtx, zval );
|
||||
branchdl, vtx, wval );
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
||||
SPVertex & v = video().getRender().getVertex((vtx & 0x1f));
|
||||
if (v.w < (float)zval)
|
||||
if (v.w < (float)wval)
|
||||
RSP.PC[RSP.PCi] = address;
|
||||
|
||||
#ifdef DEBUG
|
||||
DebugMsg( DEBUG_HIGH | DEBUG_HANDLED, "gSPBranchLessZ( 0x%08X, %i, %i );\n",
|
||||
branchdl, vtx, zval );
|
||||
branchdl, vtx, wval );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -156,7 +156,7 @@ void gSPCBFDVertex( u32 v, u32 n, u32 v0 );
|
|||
void gSPDisplayList( u32 dl );
|
||||
void gSPBranchList( u32 dl );
|
||||
void gSPBranchLessZ( u32 branchdl, u32 vtx, u32 zval );
|
||||
void gSPBranchLessW( u32 branchdl, u32 vtx, u32 zval );
|
||||
void gSPBranchLessW( u32 branchdl, u32 vtx, u32 wval );
|
||||
void gSPDlistCount(u32 count, u32 v);
|
||||
void gSPSprite2DBase(u32 _base );
|
||||
void gSPDMATriangles( u32 tris, u32 n );
|
||||
|
|
Loading…
Reference in New Issue
Block a user