diff options
author | Twinaphex | 2015-02-06 09:39:11 +0100 |
---|---|---|
committer | Twinaphex | 2015-02-06 09:39:11 +0100 |
commit | 40dabc0b86e98a2f9b754692bd98404d038f6bce (patch) | |
tree | 27a148679e25f6edb7a2dd85c54514139bb72450 /plugins/gpu_unai/gpulib_if.cpp | |
parent | cebb70f24ab54693b12aaa27b85a52689e26e1ff (diff) | |
parent | 2af7e74feec67c0a798ac190774cb4b3e925be76 (diff) | |
download | pcsx_rearmed-40dabc0b86e98a2f9b754692bd98404d038f6bce.tar.gz pcsx_rearmed-40dabc0b86e98a2f9b754692bd98404d038f6bce.tar.bz2 pcsx_rearmed-40dabc0b86e98a2f9b754692bd98404d038f6bce.zip |
Merge pull request #14 from notaz/for_libretro
r22 merge
Diffstat (limited to 'plugins/gpu_unai/gpulib_if.cpp')
-rw-r--r-- | plugins/gpu_unai/gpulib_if.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gpu_unai/gpulib_if.cpp b/plugins/gpu_unai/gpulib_if.cpp index 0d506bc..646b0f2 100644 --- a/plugins/gpu_unai/gpulib_if.cpp +++ b/plugins/gpu_unai/gpulib_if.cpp @@ -490,8 +490,8 @@ int do_cmd_list(unsigned int *list, int list_len, int *last_cmd) } case 0xE5: { const u32 temp = PacketBuffer.U4[0]; - DrawingOffset[0] = ((long)temp<<(32-11))>>(32-11); - DrawingOffset[1] = ((long)temp<<(32-22))>>(32-11); + DrawingOffset[0] = ((s32)temp<<(32-11))>>(32-11); + DrawingOffset[1] = ((s32)temp<<(32-22))>>(32-11); gpu.ex_regs[5] = temp; break; } |