From b5a738748175a460f856a1ed8a2e29fa26ebfb14 Mon Sep 17 00:00:00 2001 From: iCatButler Date: Tue, 10 May 2016 21:34:27 +0100 Subject: Add PGXP visual debug mode Toggles using F11 Red = low precision Blue = high precision Yellow = Sprite --- libpcsxcore/plugins.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libpcsxcore/plugins.c') 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"); -- cgit v1.2.3