diff options
| author | skidau <skidau@gmail.com> | 2014-09-24 10:46:09 +1000 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2014-09-24 10:46:09 +1000 |
| commit | 539f270c67c8dcd422e59dc87df4482542c82366 (patch) | |
| tree | aa1f2f93bd73fc9b95d55206caf2faed61ae2c1f /Source/Core/VideoCommon/VertexManagerBase.cpp | |
| parent | b4399dbdf3a9380b5487753ac3dedf21daba2aed (diff) | |
Added a xf.numtexgen != bp.numtextgen error log if there is a mismatch detected.
Diffstat (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexManagerBase.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp index 919cb0b17e..d637ad9017 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/VertexManagerBase.cpp @@ -232,6 +232,9 @@ void VertexManager::Flush() GFX_DEBUGGER_PAUSE_AT(NEXT_FLUSH, true); + if (xfmem.numTexGen.numTexGens != bpmem.genMode.numtexgens) + ERROR_LOG(VIDEO, "xf.numtexgens (%d) does not match bp.numtexgens (%d). Error in command stream.", xfmem.numTexGen.numTexGens, bpmem.genMode.numtexgens.Value()); + IsFlushed = true; } |
