summaryrefslogtreecommitdiff
path: root/libpcsxcore/gpu.c
diff options
context:
space:
mode:
authoriCatButler <i.am.catbutler@gmail.com>2016-03-25 16:25:15 +0000
committeriCatButler <i.am.catbutler@gmail.com>2016-03-25 16:25:15 +0000
commit7767ea4acbae995cd8e6302bdb7c97e89748dfd8 (patch)
treeb4a3025b703f8f3f383626aa5a651b2954c3a512 /libpcsxcore/gpu.c
parent106f6594c9e2ad601deb7ad9bdf5eab8a568c01b (diff)
downloadpcsxr-7767ea4acbae995cd8e6302bdb7c97e89748dfd8.tar.gz
Initial upload of PGXP.
Diffstat (limited to 'libpcsxcore/gpu.c')
-rwxr-xr-xlibpcsxcore/gpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpcsxcore/gpu.c b/libpcsxcore/gpu.c
index 324c2a00..61a7b3dc 100755
--- a/libpcsxcore/gpu.c
+++ b/libpcsxcore/gpu.c
@@ -19,6 +19,7 @@
#include "psxhw.h"
#include "gpu.h"
#include "psxdma.h"
+#include "pgxp_gte.h"
#define GPUSTATUS_ODDLINES 0x80000000
#define GPUSTATUS_DMABITS 0x60000000 // Two bits
@@ -142,6 +143,7 @@ void psxDma2(u32 madr, u32 bcr, u32 chcr) { // GPU
#endif
break;
}
+ GPU_pgxpMemory(madr, PGXP_GetMem());
GPU_writeDataMem(ptr, size);
#if 0