diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2014-04-22 01:18:09 +0200 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2014-04-22 01:18:09 +0200 |
| commit | 782d271548acf951ccddc84ad1892a03f8f49246 (patch) | |
| tree | 2ae14e92cb7c6f7f2b63550b450fed620e98b61e /Source/Core/VideoCommon/BPStructs.cpp | |
| parent | 8e38b1e63b624db654098e4db3f8c66f2710be2d (diff) | |
| parent | 762572a08ce17a83a5c5b2c2b968c92778f7221b (diff) | |
Merge pull request #294 from neobrain/master
BPMemory: Cleanup GenMode and fix incorrect bitfield size.
Diffstat (limited to 'Source/Core/VideoCommon/BPStructs.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/BPStructs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp index 8b904a95f8..d3caaf49d3 100644 --- a/Source/Core/VideoCommon/BPStructs.cpp +++ b/Source/Core/VideoCommon/BPStructs.cpp @@ -91,9 +91,9 @@ void BPWritten(const BPCmd& bp) case BPMEM_GENMODE: // Set the Generation Mode { PRIM_LOG("genmode: texgen=%d, col=%d, multisampling=%d, tev=%d, cullmode=%d, ind=%d, zfeeze=%d", - bpmem.genMode.numtexgens, bpmem.genMode.numcolchans, - bpmem.genMode.multisampling, bpmem.genMode.numtevstages+1, bpmem.genMode.cullmode, - bpmem.genMode.numindstages, bpmem.genMode.zfreeze); + (u32)bpmem.genMode.numtexgens, (u32)bpmem.genMode.numcolchans, + (u32)bpmem.genMode.multisampling, (u32)bpmem.genMode.numtevstages+1, (u32)bpmem.genMode.cullmode, + (u32)bpmem.genMode.numindstages, (u32)bpmem.genMode.zfreeze); // Only call SetGenerationMode when cull mode changes. if (bp.changes & 0xC000) |
