summaryrefslogtreecommitdiff
path: root/plugins/dfxvideo/prim.c
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-08-13 01:32:56 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-08-13 01:32:56 +0000
commitc6191a4474b4cab60cc9886860c8b6de7c4e146b (patch)
tree7b450e4d69ec922805cf2448af9cc53286f17d73 /plugins/dfxvideo/prim.c
parent7d0cd28dd85965b4f94c8eeb5aa2c70297122485 (diff)
downloadpcsxr-c6191a4474b4cab60cc9886860c8b6de7c4e146b.tar.gz
dfxvideo: Readded windows support.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56047 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfxvideo/prim.c')
-rw-r--r--plugins/dfxvideo/prim.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/dfxvideo/prim.c b/plugins/dfxvideo/prim.c
index 097f202e..563980ae 100644
--- a/plugins/dfxvideo/prim.c
+++ b/plugins/dfxvideo/prim.c
@@ -387,9 +387,9 @@ void cmdTexturePage(unsigned char * baseAddr)
lGPUstatusRet&=~0x000007ff;
lGPUstatusRet|=(gdata & 0x07ff);
-
- usMirror=gdata&0x3000;
-
+
+ usMirror=(unsigned short)(gdata&0x3000);
+
UpdateGlobalTP((unsigned short)gdata);
GlobalTextREST = (gdata&0x00ffffff)>>9;
}