Skip to content

Commit

Permalink
Fix compiling on DevKitARM r47
Browse files Browse the repository at this point in the history
Thanks @Nanquitas for the fix ^_^
  • Loading branch information
Slattz committed Jul 28, 2017
1 parent 3007099 commit d0a8eb1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Sources/cheats.c
Expand Up @@ -500,13 +500,13 @@ void keyboardInput(void)
bool g_text_activated = false;
bool g_teleport_save = true;

inline void save_teleport(void)
void save_teleport(void)
{
g_teleport_save = true;
teleport();
}

inline void restore_teleport(void)
void restore_teleport(void)
{
g_teleport_save = false;
teleport();
Expand Down
6 changes: 3 additions & 3 deletions Sources/create_menu.c
Expand Up @@ -85,17 +85,17 @@ void with_note_common(const char *name, const char *note, void (*cheatfunction)(
set_note(note, index);
}

inline void new_entry_with_note(const char *name, const char *note, void (*cheatfunction)(void))
void new_entry_with_note(const char *name, const char *note, void (*cheatfunction)(void))
{
with_note_common(name, note, cheatfunction, 0);
}

inline void new_radio_entry_with_note(const char *name, const char *note, void (*cheatfunction)(void))
void new_radio_entry_with_note(const char *name, const char *note, void (*cheatfunction)(void))
{
with_note_common(name, note, cheatfunction, 1);
}

inline void new_spoiler_with_note(const char *name, const char *note)
void new_spoiler_with_note(const char *name, const char *note)
{
with_note_common(name, note, NULL, 2);
}
Expand Down

0 comments on commit d0a8eb1

Please sign in to comment.