diff options
| author | iCatButler <i.am.catbutler@gmail.com> | 2016-05-10 21:34:27 +0100 |
|---|---|---|
| committer | iCatButler <i.am.catbutler@gmail.com> | 2016-05-10 21:34:27 +0100 |
| commit | b5a738748175a460f856a1ed8a2e29fa26ebfb14 (patch) | |
| tree | 8cc060819d9433940859de000bbb986cc45d7458 /libpcsxcore/plugins.c | |
| parent | 1a30cfb9510d4e46960010735d26a344f75cb328 (diff) | |
| download | pcsxr-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-x | libpcsxcore/plugins.c | 3 |
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"); |
