notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #14 from notaz/for_libretro
[pcsx_rearmed.git]
/
plugins
/
gpu_unai
/
gpu.cpp
diff --git
a/plugins/gpu_unai/gpu.cpp
b/plugins/gpu_unai/gpu.cpp
index
d509617
..
1552bed
100644
(file)
--- a/
plugins/gpu_unai/gpu.cpp
+++ b/
plugins/gpu_unai/gpu.cpp
@@
-432,7
+432,7
@@
void GPU_readDataMem(u32* dmaAddress, s32 dmaCount)
{
if ((&pvram[px])>(VIDEO_END)) pvram-=512*1024;
// lower 16 bit
{
if ((&pvram[px])>(VIDEO_END)) pvram-=512*1024;
// lower 16 bit
- u32 data =
(unsigned long)
pvram[px];
+ u32 data = pvram[px];
if (++px>=x_end)
{
if (++px>=x_end)
{
@@
-442,7
+442,7
@@
void GPU_readDataMem(u32* dmaAddress, s32 dmaCount)
if ((&pvram[px])>(VIDEO_END)) pvram-=512*1024;
// higher 16 bit (always, even if it's an odd width)
if ((&pvram[px])>(VIDEO_END)) pvram-=512*1024;
// higher 16 bit (always, even if it's an odd width)
- data |= (u
nsigned long
)(pvram[px])<<16;
+ data |= (u
32
)(pvram[px])<<16;
*dmaAddress++ = data;
*dmaAddress++ = data;