FifoAnalyzer: Fix a few warnings that visual studio missed.

This commit is contained in:
Scott Mansell 2015-12-28 20:01:56 +13:00
parent 29ec5b065a
commit 790a836736
2 changed files with 1 additions and 10 deletions

View File

@ -107,7 +107,7 @@ u32 AnalyzeCommand(u8* data, DecodeMode mode)
case GX_LOAD_BP_REG:
{
s_DrawingObject = false;
u32 cmd2 = ReadFifo32(data);
ReadFifo32(data);
break;
}
@ -153,12 +153,6 @@ u32 AnalyzeCommand(u8* data, DecodeMode mode)
return (u32)(data - dataStart);
}
void InitBPMemory(BPMemory* bpMem)
{
memset(bpMem, 0, sizeof(BPMemory));
bpMem->bpMask = 0x00FFFFFF;
}
void LoadCPReg(u32 subCmd, u32 value, CPMemory& cpMem)
{
switch (subCmd & 0xF0)

View File

@ -15,9 +15,6 @@
using namespace FifoAnalyzer;
static void ProcessVertexArrays(u8* data, u8 vtxAttrGroup);
static void WriteVertexArray(int arrayIndex, u8* vertexData, int vertexSize, int numVertices);
void FifoRecordAnalyzer::Initialize(u32* cpMem)
{
s_DrawingObject = false;