mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
BPMemory: Use BitField for the GenMode fields.
This commit is contained in:
parent
8e38b1e63b
commit
16d3dbc5ea
2 changed files with 17 additions and 11 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue