aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authortwinaphex2014-12-06 21:55:19 +0100
committertwinaphex2014-12-06 21:55:19 +0100
commit6017ba80d41ebe044721a2190862c0ba54303f02 (patch)
treee626da447856a334d8b3cc8cdfa5498c7f1c9e93 /source
parent8e3c2e02c2fcde3a0ffc3b616777332ec5b6e5be (diff)
downloadsnesemu-6017ba80d41ebe044721a2190862c0ba54303f02.tar.gz
snesemu-6017ba80d41ebe044721a2190862c0ba54303f02.tar.bz2
snesemu-6017ba80d41ebe044721a2190862c0ba54303f02.zip
Implement cheat code stuff
Diffstat (limited to 'source')
-rw-r--r--source/cheats.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cheats.h b/source/cheats.h
index 7d43f2b..2201c3c 100644
--- a/source/cheats.h
+++ b/source/cheats.h
@@ -137,7 +137,7 @@ const char *S9xGameGenieToRaw (const char *code, uint32_t *address, uint8_t *byt
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 S9xRemoveCheat (uint32_t which1);
@@ -146,7 +146,7 @@ void S9xDisableCheat (uint32_t which1);
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);