X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fcheat.h;h=b3d8bc4ac47358e8affc6206f9211d57aa0601c2;hp=c533b93f21b646980b393237f7213c28b6ec5f64;hb=8f00f96ca84ba1d8ba30d4850c0b1d143efa5989;hpb=9c27c2051287b235fe0dba18a74b3863a3062646 diff --git a/libpcsxcore/cheat.h b/libpcsxcore/cheat.h index c533b93f..b3d8bc4a 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();