mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-02 17:28:33 +00:00
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:
parent
7135dba54e
commit
fc261b32bf
2 changed files with 49 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue