summaryrefslogtreecommitdiff
path: root/libpcsxcore/gpu.c
diff options
context:
space:
mode:
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