summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/rockdoom.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/doom/rockdoom.c')
-rw-r--r--apps/plugins/doom/rockdoom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/doom/rockdoom.c b/apps/plugins/doom/rockdoom.c
index 82daadb24e..90c446b9eb 100644
--- a/apps/plugins/doom/rockdoom.c
+++ b/apps/plugins/doom/rockdoom.c
@@ -103,6 +103,7 @@ struct plugin_api* rb;
103 103
104bool noprintf=0; // Variable disables printf lcd updates to protect grayscale lib/direct lcd updates 104bool noprintf=0; // Variable disables printf lcd updates to protect grayscale lib/direct lcd updates
105 105
106#ifndef SIMULATOR
106// Here is a hacked up printf command to get the output from the game. 107// Here is a hacked up printf command to get the output from the game.
107int printf(const char *fmt, ...) 108int printf(const char *fmt, ...)
108{ 109{
@@ -129,6 +130,7 @@ int printf(const char *fmt, ...)
129 } 130 }
130 return 1; 131 return 1;
131} 132}
133#endif
132 134
133char *my_strtok( char * s, const char * delim ) 135char *my_strtok( char * s, const char * delim )
134{ 136{