I was thinking it would be really nice to have a function in GX comparable to GX_SetDispCopyYScale to do it for the XScale instead (i.e., GX_SetDispCopyXScale). It can't be too much different from YScale, and so would be easy to implement (I would hope). I tried doing so myself, but in this line in the YScale function:
Code: Select all
GX_LOAD_BP_REG(0x4e000000|yScale);
Code: Select all
ht = _SHIFTR(_gx[0xcc],12,10)+1;
return __GX_GetNumXfbLines(ht,yScale);