Merge pull request #3405 from phire/fix-unused-var

FifoAnalyzer: Fix a few warnings that visual studio missed.
This commit is contained in:
Mathew Maidment 2015-12-28 02:54:55 -05:00
commit 8843760ad7
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: case GX_LOAD_BP_REG:
{ {
s_DrawingObject = false; s_DrawingObject = false;
u32 cmd2 = ReadFifo32(data); ReadFifo32(data);
break; break;
} }
@ -153,12 +153,6 @@ u32 AnalyzeCommand(u8* data, DecodeMode mode)
return (u32)(data - dataStart); return (u32)(data - dataStart);
} }
void InitBPMemory(BPMemory* bpMem)
{
memset(bpMem, 0, sizeof(BPMemory));
bpMem->bpMask = 0x00FFFFFF;
}
void LoadCPReg(u32 subCmd, u32 value, CPMemory& cpMem) void LoadCPReg(u32 subCmd, u32 value, CPMemory& cpMem)
{ {
switch (subCmd & 0xF0) switch (subCmd & 0xF0)

View File

@ -15,9 +15,6 @@
using namespace FifoAnalyzer; 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) void FifoRecordAnalyzer::Initialize(u32* cpMem)
{ {
s_DrawingObject = false; s_DrawingObject = false;