void S2DEX_Obj_MoveMem( u32 w0, u32 w1 ) { if (_SHIFTR( w0, 0, 16 ) == 0) gSPObjMatrix( w1 ); else gSPObjSubMatrix( w1 ); }
void S2DEX_Obj_MoveMem( u32 w0, u32 w1 ) { switch (_SHIFTR( w0, 0, 16 )) { case S2DEX_MV_MATRIX: gSPObjMatrix( w1 ); break; case S2DEX_MV_SUBMUTRIX: gSPObjSubMatrix( w1 ); break; case S2DEX_MV_VIEWPORT: gSPViewport( w1 ); break; } }