diff options
author | retro-wertz | 2019-08-02 19:37:20 +0800 |
---|---|---|
committer | retro-wertz | 2019-08-02 19:37:20 +0800 |
commit | cf4334ed9741d6247673fefa057b71926b2e1cfe (patch) | |
tree | 72fd09569e596a982421e91e13d2a42408496ef2 /plugins | |
parent | 0f288b5c9f0e792466a2e785e3090cd65f17c2de (diff) | |
download | pcsx_rearmed-cf4334ed9741d6247673fefa057b71926b2e1cfe.tar.gz pcsx_rearmed-cf4334ed9741d6247673fefa057b71926b2e1cfe.tar.bz2 pcsx_rearmed-cf4334ed9741d6247673fefa057b71926b2e1cfe.zip |
Silence warning about misleading indent
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/dfxvideo/soft.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/plugins/dfxvideo/soft.c b/plugins/dfxvideo/soft.c index c1c3bef..1b22ed5 100644 --- a/plugins/dfxvideo/soft.c +++ b/plugins/dfxvideo/soft.c @@ -6316,6 +6316,7 @@ static void DrawSoftwareSpriteMirror(unsigned char * baseAddr,int32_t w,int32_t sprtYa=(sprtY<<10); clutP=(clutY0<<10)+clutX0; for (sprCY=0;sprCY<sprtH;sprCY++) + { for (sprCX=0;sprCX<sprtW;sprCX++) { tC= psxVub[((textY0+(sprCY*lYDir))<<11) + textX0 +(sprCX*lXDir)]; @@ -6323,28 +6324,33 @@ static void DrawSoftwareSpriteMirror(unsigned char * baseAddr,int32_t w,int32_t GetTextureTransColG_SPR(&psxVuw[sprA],GETLE16(&psxVuw[clutP+((tC>>4)&0xf)])); GetTextureTransColG_SPR(&psxVuw[sprA+1],GETLE16(&psxVuw[clutP+(tC&0xf)])); } + } return; case 1: clutP>>=1; for(sprCY=0;sprCY<sprtH;sprCY++) + { for(sprCX=0;sprCX<sprtW;sprCX++) { tC = psxVub[((textY0+(sprCY*lYDir))<<11)+(GlobalTextAddrX<<1) + textX0 + (sprCX*lXDir)] & 0xff; GetTextureTransColG_SPR(&psxVuw[((sprtY+sprCY)<<10)+sprtX + sprCX],psxVuw[clutP+tC]); } - return; + } + return; case 2: for (sprCY=0;sprCY<sprtH;sprCY++) + { for (sprCX=0;sprCX<sprtW;sprCX++) { GetTextureTransColG_SPR(&psxVuw[((sprtY+sprCY)<<10)+sprtX+sprCX], GETLE16(&psxVuw[((textY0+(sprCY*lYDir))<<10)+GlobalTextAddrX + textX0 +(sprCX*lXDir)])); } - return; + } + return; } } |