summaryrefslogtreecommitdiff
path: root/libpcsxcore/plugins.h
diff options
context:
space:
mode:
authoriCatButler <i.am.catbutler@gmail.com>2016-05-15 16:26:39 +0100
committeriCatButler <i.am.catbutler@gmail.com>2016-05-15 16:26:39 +0100
commit2a24b74c12c6d248409dc93b35edbc373d03b29c (patch)
tree94bf6d4022a5209c7713fe4b8107342839b193f7 /libpcsxcore/plugins.h
parentfed51208575d3b67789ded126a38c7da3b23cef0 (diff)
downloadpcsxr-2a24b74c12c6d248409dc93b35edbc373d03b29c.tar.gz
Implement vertex caching
- Try using Blade_Arma's vertex cache to find untracked vertices - Fix GTE_LOG - Add more logging spew - Update debug mode to track cached vertices
Diffstat (limited to 'libpcsxcore/plugins.h')
-rwxr-xr-xlibpcsxcore/plugins.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpcsxcore/plugins.h b/libpcsxcore/plugins.h
index 07da50e3..b7ba4cd3 100755
--- a/libpcsxcore/plugins.h
+++ b/libpcsxcore/plugins.h
@@ -99,6 +99,7 @@ typedef void (CALLBACK* GPUcursor)(int, int, int);
typedef void (CALLBACK* GPUaddVertex)(short,short,s64,s64,s64);
typedef void (CALLBACK* GPUsetSpeed)(float); // 1.0 = natural speed
typedef void (CALLBACK* GPUpgxpMemory)(unsigned int, unsigned char*);
+typedef void (CALLBACK* GPUpgxpCacheVertex)(short sx, short sy, const unsigned char* _pVertex);
// GPU function pointers
extern GPUupdateLace GPU_updateLace;
@@ -131,6 +132,7 @@ extern GPUcursor GPU_cursor;
extern GPUaddVertex GPU_addVertex;
extern GPUsetSpeed GPU_setSpeed;
extern GPUpgxpMemory GPU_pgxpMemory;
+extern GPUpgxpCacheVertex GPU_pgxpCacheVertex;
// CD-ROM Functions
typedef long (CALLBACK* CDRinit)(void);