aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/cheat.h
diff options
context:
space:
mode:
authornotaz2012-07-22 22:39:53 +0300
committernotaz2012-07-22 23:56:37 +0300
commit9c27c2051287b235fe0dba18a74b3863a3062646 (patch)
tree24754f3fac995084a08224cae848b4fc4eaf7167 /libpcsxcore/cheat.h
parent61f97bb0518cde50b243fba8ce2e8a907a0fc2e9 (diff)
downloadpcsx_rearmed-9c27c2051287b235fe0dba18a74b3863a3062646.tar.gz
pcsx_rearmed-9c27c2051287b235fe0dba18a74b3863a3062646.tar.bz2
pcsx_rearmed-9c27c2051287b235fe0dba18a74b3863a3062646.zip
frontend: initial cheats support
Diffstat (limited to 'libpcsxcore/cheat.h')
-rw-r--r--libpcsxcore/cheat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpcsxcore/cheat.h b/libpcsxcore/cheat.h
index d54f22c..c533b93 100644
--- a/libpcsxcore/cheat.h
+++ b/libpcsxcore/cheat.h
@@ -87,6 +87,9 @@ extern s8 *prevM;
extern u32 *SearchResults;
extern int NumSearchResults;
+extern int NumCheatsAllocated;
+extern int NumCodesAllocated;
+
#define PREVM(mem) (&prevM[mem])
#define PrevMu8(mem) (*(u8 *)PREVM(mem))
#define PrevMu16(mem) (SWAP16(*(u16 *)PREVM(mem)))