summaryrefslogtreecommitdiff
path: root/plugins/dfxvideo
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-12-29 02:39:14 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-12-29 02:39:14 +0000
commit0b3c069d3b5887a7b19d612d419b4397f53c40e4 (patch)
tree0513e02879b017342aee44d38159c77f7128d5a8 /plugins/dfxvideo
parent402c449811cb93d73bcdd69c5923713f8635411d (diff)
downloadpcsxr-0b3c069d3b5887a7b19d612d419b4397f53c40e4.tar.gz
- dfsound (unix): Added mute option and freqresponse to the config utility.
- gxvideo: Fixed FTBFS. - Fixed Run BIOS (Issue #7806). - Updated gettext scripts. - Credit where it's due. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61576 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfxvideo')
-rw-r--r--plugins/dfxvideo/draw.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/dfxvideo/draw.c b/plugins/dfxvideo/draw.c
index 2594fc22..b0b54a56 100644
--- a/plugins/dfxvideo/draw.c
+++ b/plugins/dfxvideo/draw.c
@@ -1294,9 +1294,6 @@ if (!myvisual)
DestroyDisplay();
}
-
-
- int _i;
uint32_t color;
/* fix the green back ground in YUV mode */
@@ -1416,7 +1413,7 @@ void BlitToYUV(unsigned char * surf,int32_t x,int32_t y)
unsigned short row,column;
unsigned short dx = PreviousPSXDisplay.Range.x1;
unsigned short dy = PreviousPSXDisplay.DisplayMode.y;
- int Y,U,V, R,G,B;
+ int R,G,B;
int32_t lPitch = PSXDisplay.DisplayMode.x << 2;
uint32_t *destpix;
@@ -1567,7 +1564,7 @@ void DoBufferSwap(void)
Screen *screen;
Window _dw;
XvImage *xvi;
- unsigned int dstx, dsty, srcy = 0;
+ unsigned int dstx, dsty;
unsigned int _d, _w, _h; //don't care about _d
finalw = PSXDisplay.DisplayMode.x;