diff options
| author | iCatButler <i.am.catbutler@gmail.com> | 2016-03-25 16:25:15 +0000 |
|---|---|---|
| committer | iCatButler <i.am.catbutler@gmail.com> | 2016-03-25 16:25:15 +0000 |
| commit | 7767ea4acbae995cd8e6302bdb7c97e89748dfd8 (patch) | |
| tree | b4a3025b703f8f3f383626aa5a651b2954c3a512 /plugins/peopsxgl/gpu.c | |
| parent | 106f6594c9e2ad601deb7ad9bdf5eab8a568c01b (diff) | |
| download | pcsxr-7767ea4acbae995cd8e6302bdb7c97e89748dfd8.tar.gz | |
Initial upload of PGXP.
Diffstat (limited to 'plugins/peopsxgl/gpu.c')
| -rwxr-xr-x | plugins/peopsxgl/gpu.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/peopsxgl/gpu.c b/plugins/peopsxgl/gpu.c index d5af3330..65e074d5 100755 --- a/plugins/peopsxgl/gpu.c +++ b/plugins/peopsxgl/gpu.c @@ -48,6 +48,7 @@ static int iOldMode=0; #include "fps.h" #include "key.h" #include "gte_accuracy.h" +#include "PGXP_gpu.h" #ifdef _WINDOWS #include "resource.h" #include "ssave.h" @@ -3145,7 +3146,11 @@ long CALLBACK GPUdmaChain(uint32_t *baseAddrL, uint32_t addr) dmaMem=addr+4; - if(count>0) GPUwriteDataMem(&baseAddrL[dmaMem>>2],count); + if (count > 0) + { + PGXP_SetAddress(dmaMem >> 2); + GPUwriteDataMem(&baseAddrL[dmaMem >> 2], count); + } addr = baseAddrL[addr>>2]&0xffffff; } |
