naomi: Hmmm, looks like I inverted the stride test [O. Galibert]

This commit is contained in:
Olivier Galibert 2011-07-04 20:01:59 +00:00
parent 0f29157605
commit 35c6d3347c

View File

@ -722,10 +722,7 @@ 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->stride = (t->mode & 1) && sa->strideselect ? (pvrta_regs[TEXT_CONTROL] & 0x1f) << 5 : t->sizex;
t->blend_mode = sa->blend_mode;
t->filter_mode = sa->filtermode;