From 02f476cd098844933039fd96881ded2fc4bed585 Mon Sep 17 00:00:00 2001 From: Scott Mansell Date: Sun, 8 Nov 2015 19:51:21 +1300 Subject: [PATCH] FifoRecorder: Fix bug with normal vertex arrays. Detected by the previous commit. We had forgotten to make sure the Vertex Loader's table of normal sizes is initilzied, resulting in the wrong offsets/sizes being used for vertices with normals. --- Source/Core/Core/FifoPlayer/FifoRecorder.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/Core/FifoPlayer/FifoRecorder.cpp b/Source/Core/Core/FifoPlayer/FifoRecorder.cpp index 7801722b02..7c6ba461af 100644 --- a/Source/Core/Core/FifoPlayer/FifoRecorder.cpp +++ b/Source/Core/Core/FifoPlayer/FifoRecorder.cpp @@ -40,6 +40,8 @@ void FifoRecorder::StartRecording(s32 numFrames, CallbackFunc finishedCb) delete m_File; + FifoAnalyzer::Init(); + m_File = new FifoDataFile; std::fill(m_Ram.begin(), m_Ram.end(), 0); std::fill(m_ExRam.begin(), m_ExRam.end(), 0);