From 2c843d964027089a747453afc0b07d0eac5835d9 Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 23 Jul 2012 00:29:46 +0300 Subject: cheat: add some undo logic --- libpcsxcore/cheat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpcsxcore/cheat.h') 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(); -- cgit v1.2.3