fix interlacing (top fields are odd, i guess)
This commit is contained in:
parent
c8e5d24975
commit
fab37799e2
1 changed files with 2 additions and 2 deletions
|
@ -107,10 +107,10 @@ SetScreenNTSC_Fail:
|
||||||
sw r0, VI_V_CURRENT_LINE(v1) // clear interrupt
|
sw r0, VI_V_CURRENT_LINE(v1) // clear interrupt
|
||||||
|
|
||||||
SetScreenNTSC_SetInterlaced:
|
SetScreenNTSC_SetInterlaced:
|
||||||
beqz t0, SetScreenNTSC_Set // nothing more to do on even fields.
|
bnez t0, SetScreenNTSC_Set // nothing more to do on odd (top) fields.
|
||||||
ori a1, INTERLACE
|
ori a1, INTERLACE
|
||||||
|
|
||||||
// handle odd fields.
|
// handle even (bottom) fields.
|
||||||
addu a2, t2 // add width to origin
|
addu a2, t2 // add width to origin
|
||||||
addu a2, t2 // and again for a full row (when 16 BPP)
|
addu a2, t2 // and again for a full row (when 16 BPP)
|
||||||
beqz t1, SetScreenNTSC_Set // branch when 16 BPP
|
beqz t1, SetScreenNTSC_Set // branch when 16 BPP
|
||||||
|
|
Loading…
Add table
Reference in a new issue