summaryrefslogtreecommitdiff
path: root/win32/gui/ConfigurePlugins.c
diff options
context:
space:
mode:
authoriCatButler <i.am.catbutler@gmail.com>2016-06-27 15:28:33 +0100
committeriCatButler <i.am.catbutler@gmail.com>2016-06-27 15:28:33 +0100
commit42176205ce9ed9aa2408d4042a816fe5cd082519 (patch)
tree43fae5134a8a72f3a5902a6be9972f0188029b76 /win32/gui/ConfigurePlugins.c
parentcfa7b3ad119aed09b12aa44521f70d12df234414 (diff)
downloadpcsxr-42176205ce9ed9aa2408d4042a816fe5cd082519.tar.gz
Imporved CPU integration
- Change PGXP integration to use wrapper functions - Use modified function lookup tables to call wrappers or default funnctions based on mode - Implement wrappers for interpreter too, recompiler sometimes calls interpreter functions - Add UI elements for selecting CPU modes - Only call precision version of NCLIP in modes where there are not going to be stale vertices in GTE registers - Added support for CP0 co-processor functions - Improve support for CPU functions (still broken in many games) - Improved debug output to show values for inputs before they're modified GPU plugin - Ignore stale vertices (occurs when CPU mode no longer writes to memory) - Add Cyan vertex colouring for stale vertices
Diffstat (limited to 'win32/gui/ConfigurePlugins.c')
-rwxr-xr-xwin32/gui/ConfigurePlugins.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/gui/ConfigurePlugins.c b/win32/gui/ConfigurePlugins.c
index 84c7f93e..f67820db 100755
--- a/win32/gui/ConfigurePlugins.c
+++ b/win32/gui/ConfigurePlugins.c
@@ -99,6 +99,7 @@ int LoadConfig() {
QueryKeyV("PGXP_GTE", Conf->PGXP_GTE);
QueryKeyV("PGXP_Cache", Conf->PGXP_Cache);
QueryKeyV("PGXP_Texture", Conf->PGXP_Texture);
+ QueryKeyV("PGXP_Mode", Conf->PGXP_Mode);
if (Config.Cpu == CPU_DYNAREC) {
Config.Debug = 0; // don't enable debugger if using dynarec core
@@ -165,6 +166,7 @@ void SaveConfig() {
SetKeyV("PGXP_GTE", Conf->PGXP_GTE);
SetKeyV("PGXP_Cache", Conf->PGXP_Cache);
SetKeyV("PGXP_Texture", Conf->PGXP_Texture);
+ SetKeyV("PGXP_Mode", Conf->PGXP_Mode);
RegCloseKey(myKey);