diff options
author | notaz | 2012-07-23 00:29:46 +0300 |
---|---|---|
committer | notaz | 2012-07-23 00:29:46 +0300 |
commit | 2c843d964027089a747453afc0b07d0eac5835d9 (patch) | |
tree | 50cff87de84f7a4cd5dc79ed3e31eae8c64228fa /libpcsxcore/cheat.h | |
parent | 9c27c2051287b235fe0dba18a74b3863a3062646 (diff) | |
download | pcsx_rearmed-2c843d964027089a747453afc0b07d0eac5835d9.tar.gz pcsx_rearmed-2c843d964027089a747453afc0b07d0eac5835d9.tar.bz2 pcsx_rearmed-2c843d964027089a747453afc0b07d0eac5835d9.zip |
cheat: add some undo logic
Diffstat (limited to 'libpcsxcore/cheat.h')
-rw-r--r-- | libpcsxcore/cheat.h | 2 |
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(); |