For Arbee's eyes, hacked stride size for working test mode, waiting for a better fix by OG ...

This commit is contained in:
Angelo Salese 2011-07-04 19:57:51 +00:00
parent 742836271f
commit 0f29157605
2 changed files with 16 additions and 14 deletions

View File

@ -724,6 +724,8 @@ static void tex_get_info(texinfo *t, pvrta_state *sa)
/* Stride select is used only in the non-twiddled case */
t->stride = (t->mode & 1) && sa->strideselect ? t->sizex : (pvrta_regs[TEXT_CONTROL] & 0x1f) << 5;
/* FIXME: hack for test mode */
if(t->stride == 0) t->stride = 8;
t->blend_mode = sa->blend_mode;
t->filter_mode = sa->filtermode;