summaryrefslogtreecommitdiff
path: root/libpcsxcore/plugins.c
diff options
context:
space:
mode:
authoriCatButler <i.am.catbutler@gmail.com>2016-05-10 21:34:27 +0100
committeriCatButler <i.am.catbutler@gmail.com>2016-05-10 21:34:27 +0100
commitb5a738748175a460f856a1ed8a2e29fa26ebfb14 (patch)
tree8cc060819d9433940859de000bbb986cc45d7458 /libpcsxcore/plugins.c
parent1a30cfb9510d4e46960010735d26a344f75cb328 (diff)
downloadpcsxr-b5a738748175a460f856a1ed8a2e29fa26ebfb14.tar.gz
Add PGXP visual debug mode
Toggles using F11 Red = low precision Blue = high precision Yellow = Sprite
Diffstat (limited to 'libpcsxcore/plugins.c')
-rwxr-xr-xlibpcsxcore/plugins.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpcsxcore/plugins.c b/libpcsxcore/plugins.c
index 352e8e5b..b42c5d1d 100755
--- a/libpcsxcore/plugins.c
+++ b/libpcsxcore/plugins.c
@@ -45,6 +45,7 @@ GPUdmaChain GPU_dmaChain;
GPUkeypressed GPU_keypressed;
GPUdisplayText GPU_displayText;
GPUmakeSnapshot GPU_makeSnapshot;
+GPUtoggleDebug GPU_toggleDebug;
GPUfreeze GPU_freeze;
GPUgetScreenPic GPU_getScreenPic;
GPUshowScreenPic GPU_showScreenPic;
@@ -207,6 +208,7 @@ long CALLBACK GPU__configure(void) { return 0; }
long CALLBACK GPU__test(void) { return 0; }
void CALLBACK GPU__about(void) {}
void CALLBACK GPU__makeSnapshot(void) {}
+void CALLBACK GPU__toggleDebug(void) {}
void CALLBACK GPU__keypressed(int key) {}
long CALLBACK GPU__getScreenPic(unsigned char *pMem) { return -1; }
long CALLBACK GPU__showScreenPic(unsigned char *pMem) { return -1; }
@@ -254,6 +256,7 @@ static int LoadGPUplugin(const char *GPUdll) {
LoadGpuSym0(keypressed, "GPUkeypressed");
LoadGpuSym0(displayText, "GPUdisplayText");
LoadGpuSym0(makeSnapshot, "GPUmakeSnapshot");
+ LoadGpuSym0(toggleDebug, "GPUtoggleDebug");
LoadGpuSym1(freeze, "GPUfreeze");
LoadGpuSym0(getScreenPic, "GPUgetScreenPic");
LoadGpuSym0(showScreenPic, "GPUshowScreenPic");