diff options
Diffstat (limited to 'source/cheats.h')
-rw-r--r-- | source/cheats.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/source/cheats.h b/source/cheats.h index df8a9a6..94caf2b 100644 --- a/source/cheats.h +++ b/source/cheats.h @@ -42,21 +42,19 @@ typedef enum S9X_8_BITS, S9X_16_BITS, S9X_24_BITS, S9X_32_BITS } S9xCheatDataSize; -void S9xInitCheatData(); +void S9xInitCheatData(void); const char* S9xGameGenieToRaw(const char* code, uint32_t* address, uint8_t* byte); const char* S9xProActionReplayToRaw(const char* code, uint32_t* address, uint8_t* byte); const char* S9xGoldFingerToRaw(const char* code, uint32_t* address, bool* sram, uint8_t* num_bytes, uint8_t bytes[3]); -void S9xApplyCheats(); +void S9xApplyCheats(void); void S9xApplyCheat(uint32_t which1); -void S9xRemoveCheats(); +void S9xRemoveCheats(void); void S9xRemoveCheat(uint32_t which1); void S9xEnableCheat(uint32_t which1); void S9xDisableCheat(uint32_t which1); -void S9xDisableAllCheat(); +void S9xDisableAllCheat(void); void S9xAddCheat(bool enable, bool save_current_value, uint32_t address, uint8_t byte); -void S9xDeleteCheats(); +void S9xDeleteCheats(void); void S9xDeleteCheat(uint32_t which1); -bool S9xLoadCheatFile(const char* filename); -bool S9xSaveCheatFile(const char* filename); #endif |