spu: rework synchronization
[pcsx_rearmed.git] / libpcsxcore / cheat.h
index c533b93..b3d8bc4 100644 (file)
@@ -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();