diff options
author | Alcaro | 2017-01-17 00:37:18 +0100 |
---|---|---|
committer | GitHub | 2017-01-17 00:37:18 +0100 |
commit | 6e9a6c9b040035cdc7d015b8bdb21e920c811dca (patch) | |
tree | 73e7755d117b8dd9eea499977c632727deb20d00 /source/cheats.h | |
parent | 7ed90abe19954aaf1fa56657a08e3cae4c8a67ce (diff) | |
parent | cbbfa871ae3d9db3852d9122a6d8355896c073ed (diff) | |
download | snes9x2005-6e9a6c9b040035cdc7d015b8bdb21e920c811dca.tar.gz snes9x2005-6e9a6c9b040035cdc7d015b8bdb21e920c811dca.tar.bz2 snes9x2005-6e9a6c9b040035cdc7d015b8bdb21e920c811dca.zip |
Merge pull request #26 from jamsilva/master
Cleanups v2
Diffstat (limited to 'source/cheats.h')
-rw-r--r-- | source/cheats.h | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/source/cheats.h b/source/cheats.h index 86d4f96..a4a5ba7 100644 --- a/source/cheats.h +++ b/source/cheats.h @@ -13,26 +13,25 @@ typedef struct uint32_t address; uint8_t byte; uint8_t saved_byte; - bool enabled; - bool saved; - char name[MAX_SFCCHEAT_NAME]; -}SCheat; - + bool enabled; + bool saved; + char name[MAX_SFCCHEAT_NAME]; +} SCheat; typedef struct { SCheat c [MAX_CHEATS_T]; - uint32_t num_cheats; - uint8_t CWRAM [0x20000]; - uint8_t CSRAM [0x10000]; - uint8_t CIRAM [0x2000]; - uint8_t *RAM; - uint8_t *FillRAM; - uint8_t *SRAM; - uint32_t WRAM_BITS [0x20000 >> 3]; - uint32_t SRAM_BITS [0x10000 >> 3]; - uint32_t IRAM_BITS [0x2000 >> 3]; -}SCheatData; + uint32_t num_cheats; + uint8_t CWRAM [0x20000]; + uint8_t CSRAM [0x10000]; + uint8_t CIRAM [0x2000]; + uint8_t* RAM; + uint8_t* FillRAM; + uint8_t* SRAM; + uint32_t WRAM_BITS [0x20000 >> 3]; + uint32_t SRAM_BITS [0x10000 >> 3]; + uint32_t IRAM_BITS [0x2000 >> 3]; +} SCheatData; typedef enum { @@ -76,4 +75,3 @@ void S9xOutputCheatSearchResults (SCheatData *cheats); #endif #endif - |