diff options
| author | Scott Mansell <phiren@gmail.com> | 2015-11-08 19:51:21 +1300 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2015-11-23 23:02:42 +1300 |
| commit | 02f476cd098844933039fd96881ded2fc4bed585 (patch) | |
| tree | 4cefd4c9d5e0d7f8d6b29ddcba5813bf3913acdb /Source | |
| parent | 3a36bfbcbbe7a59eb948f0edc6fce88b70d75fc7 (diff) | |
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.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/FifoPlayer/FifoRecorder.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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); |
