aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/cheat.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpcsxcore/cheat.h')
-rw-r--r--libpcsxcore/cheat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpcsxcore/cheat.h b/libpcsxcore/cheat.h
index c533b93..b3d8bc4 100644
--- a/libpcsxcore/cheat.h
+++ b/libpcsxcore/cheat.h
@@ -26,6 +26,7 @@ extern "C" {
typedef struct {
uint32_t Addr;
uint16_t Val;
+ uint16_t OldVal;
} CheatCode;
typedef struct {
@@ -33,6 +34,7 @@ typedef struct {
int First; // index of the first cheat code
int n; // number of cheat codes for this cheat
int Enabled;
+ int WasEnabled;
} Cheat;
void ClearAllCheats();