diff options
| author | Stelios Tsampas <loathingkernel@gmail.com> | 2017-07-28 13:13:09 +0300 |
|---|---|---|
| committer | Stelios Tsampas <loathingkernel@gmail.com> | 2017-07-28 13:13:09 +0300 |
| commit | b117a70fd03d780b5817c635d5c337c6ecc36d94 (patch) | |
| tree | d25ec5b0d3c55f9ad4cce14b325326333d0a680d /gui/Plugin.c | |
| parent | db51fade6de9461e7a139da2bf5887a9a6569506 (diff) | |
| download | pcsxr-b117a70fd03d780b5817c635d5c337c6ecc36d94.tar.gz | |
* Plugin.c: Add PGXP visual debug binding (F11)
* GtkGui.c: Fix path saving in file selection dialog
* LnxMain.c: Don't look for bios in data directory
Diffstat (limited to 'gui/Plugin.c')
| -rwxr-xr-x | gui/Plugin.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/Plugin.c b/gui/Plugin.c index 0adf3b5e..55068c31 100755 --- a/gui/Plugin.c +++ b/gui/Plugin.c @@ -30,6 +30,7 @@ #include "../libpcsxcore/plugins.h" #include "../libpcsxcore/spu.h" #include "../libpcsxcore/cdriso.h" +#include "../libpcsxcore/pgxp_mem.h" #include "nopic.h" @@ -241,6 +242,9 @@ void PADhandleKey(int key) { LidInterrupt(); break; + case XK_F11: + GPU_toggleDebug(); + break; case XK_F12: psxReset(); break; @@ -329,6 +333,7 @@ int _OpenPlugins() { SPU_registerCallback(SPUirq); ret = GPU_open(&gpuDisp, "PCSXR", NULL); if (ret < 0) { SysMessage(_("Error opening GPU plugin!")); return -1; } + GPU_pgxpMemory(0, PGXP_GetMem()); ret = PAD1_open(&gpuDisp); ret |= PAD1_init(1); // Allow setting to change during run if (ret < 0) { SysMessage(_("Error opening Controller 1 plugin!")); return -1; } |
