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.
This commit is contained in:
Scott Mansell 2015-11-08 19:51:21 +13:00
parent 3a36bfbcbb
commit 02f476cd09
1 changed files with 2 additions and 0 deletions

View File

@ -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);