diff --git a/pcsxr/plugins/peopsxgl/texture.c b/pcsxr/plugins/peopsxgl/texture.c index 8d8fb41b..0d313b97 100644 --- a/pcsxr/plugins/peopsxgl/texture.c +++ b/pcsxr/plugins/peopsxgl/texture.c @@ -1002,7 +1002,10 @@ void LoadStretchPackedWndTexturePage(int pageid, int mode, short cx, short cy) if(ldy) {ldy--; for(TXU=g_x1;TXU<=g_x2;TXU++) - *ta++=*(ta-(g_x2-g_x1)); + { + *ta=*(ta-(g_x2-g_x1)); + ta++; + } } } @@ -1079,7 +1082,10 @@ void LoadStretchPackedWndTexturePage(int pageid, int mode, short cx, short cy) if(ldy) {ldy--; for(TXU=g_x1;TXU<=g_x2;TXU++) - *ta++=*(ta-(g_x2-g_x1)); + { + *ta=*(ta-(g_x2-g_x1)); + ta++; + } } } @@ -1204,7 +1210,10 @@ void LoadStretchWndTexturePage(int pageid, int mode, short cx, short cy) if(ldy) {ldy--; for(TXU=g_x1;TXU<=g_x2;TXU++) - *ta++=*(ta-(g_x2-g_x1)); + { + *ta=*(ta-(g_x2-g_x1)); + ta++; + } } } @@ -1288,7 +1297,10 @@ void LoadStretchWndTexturePage(int pageid, int mode, short cx, short cy) if(ldy) {ldy--; for(TXU=g_x1;TXU<=g_x2;TXU++) - *ta++=*(ta-(g_x2-g_x1)); + { + *ta=*(ta-(g_x2-g_x1)); + ta++; + } } } @@ -2247,14 +2259,19 @@ GLuint LoadTextureMovie(void) lu=*((uint32_t *)pD);pD+=3; *ta++=XMBLUE(lu)|XMGREEN(lu)|XMRED(lu)|1; } - *ta++=*(ta-1); + *ta=*(ta-1); + ta++; } if(b_Y) { dx=xrMovieArea.x1-xrMovieArea.x0+1; for(row=xrMovieArea.x0;row>9)|1; } - *ta++=*(ta-1); + *ta=*(ta-1); + ta++; } if(b_Y) { dx=xrMovieArea.x1-xrMovieArea.x0+1; for(row=xrMovieArea.x0;row