add definitions of some bp mem bits relating to interlacing (no behavior change)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7683 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2011-07-18 08:27:30 +00:00
parent 7135dba54e
commit fc261b32bf
2 changed files with 49 additions and 5 deletions

View file

@ -239,6 +239,30 @@ void SetTextureMode(const BPCmd &bp)
void SetInterlacingMode(const BPCmd &bp)
{
// TODO
switch (bp.address)
{
case BPMEM_FIELDMODE:
{
// SDK always sets bpmem.lineptwidth.lineaspect via BPMEM_LINEPTWIDTH
// just before this cmd
const char *action[] = { "don't adjust", "adjust" };
DEBUG_LOG(VIDEO, "BPMEM_FIELDMODE texLOD:%s lineaspect:%s",
action[bpmem.fieldmode.texLOD],
action[bpmem.lineptwidth.lineaspect]);
}
break;
case BPMEM_FIELDMASK:
{
// Determines if fields will be written to EFB (always computed)
const char *action[] = { "skip", "write" };
DEBUG_LOG(VIDEO, "BPMEM_FIELDMASK even:%s odd:%s",
action[bpmem.fieldmask.even], action[bpmem.fieldmask.odd]);
}
break;
default:
ERROR_LOG(VIDEO, "SetInterlacingMode default");
break;
}
}
};