From 790a836736e132951191cda43e5c20c0fb7645d7 Mon Sep 17 00:00:00 2001 From: Scott Mansell Date: Mon, 28 Dec 2015 20:01:56 +1300 Subject: [PATCH] FifoAnalyzer: Fix a few warnings that visual studio missed. --- Source/Core/Core/FifoPlayer/FifoAnalyzer.cpp | 8 +------- Source/Core/Core/FifoPlayer/FifoRecordAnalyzer.cpp | 3 --- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/Source/Core/Core/FifoPlayer/FifoAnalyzer.cpp b/Source/Core/Core/FifoPlayer/FifoAnalyzer.cpp index b792bf6929..7116dbd5e8 100644 --- a/Source/Core/Core/FifoPlayer/FifoAnalyzer.cpp +++ b/Source/Core/Core/FifoPlayer/FifoAnalyzer.cpp @@ -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) diff --git a/Source/Core/Core/FifoPlayer/FifoRecordAnalyzer.cpp b/Source/Core/Core/FifoPlayer/FifoRecordAnalyzer.cpp index 2d277857ff..e21556e088 100644 --- a/Source/Core/Core/FifoPlayer/FifoRecordAnalyzer.cpp +++ b/Source/Core/Core/FifoPlayer/FifoRecordAnalyzer.cpp @@ -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;