BPMemory: Assign a more descriptive name to a field in the genmode register.

This commit is contained in:
NeoBrainX 2013-06-18 14:49:22 +02:00
parent 6143594db6
commit c4eb659fec
2 changed files with 3 additions and 3 deletions

View File

@ -567,7 +567,7 @@ union GenMode
{ {
u32 numtexgens : 4; // 0xF u32 numtexgens : 4; // 0xF
u32 numcolchans : 5; // 0x1E0 u32 numcolchans : 5; // 0x1E0
u32 ms_en : 1; // 0x200 u32 multisampling : 1; // 0x200
u32 numtevstages : 4; // 0x3C00 u32 numtevstages : 4; // 0x3C00
u32 cullmode : 2; // 0xC000 u32 cullmode : 2; // 0xC000
u32 numindstages : 3; // 0x30000 u32 numindstages : 3; // 0x30000

View File

@ -149,9 +149,9 @@ void BPWritten(const BPCmd& bp)
{ {
case BPMEM_GENMODE: // Set the Generation Mode case BPMEM_GENMODE: // Set the Generation Mode
{ {
PRIM_LOG("genmode: texgen=%d, col=%d, ms_en=%d, tev=%d, cullmode=%d, ind=%d, zfeeze=%d", 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.numtexgens, bpmem.genMode.numcolchans,
bpmem.genMode.ms_en, bpmem.genMode.numtevstages+1, bpmem.genMode.cullmode, bpmem.genMode.multisampling, bpmem.genMode.numtevstages+1, bpmem.genMode.cullmode,
bpmem.genMode.numindstages, bpmem.genMode.zfreeze); bpmem.genMode.numindstages, bpmem.genMode.zfreeze);
SetGenerationMode(); SetGenerationMode();
break; break;