summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/rockdoom.c
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2007-06-03 22:03:36 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2007-06-03 22:03:36 +0000
commitaec5814d436f6307dc3e6a1a09aa1ffec5709c27 (patch)
tree9d553317483ec7ef53dca7db931bd9f99ca7a5b8 /apps/plugins/doom/rockdoom.c
parent7428b79de328dca03274ccfe08d59636eb6f8d51 (diff)
downloadrockbox-aec5814d436f6307dc3e6a1a09aa1ffec5709c27.tar.gz
rockbox-aec5814d436f6307dc3e6a1a09aa1ffec5709c27.zip
Some fixes to doom dehacked loading - make embedded dehacked files actually load, fix end of file detection in the string loader, fix ammo changes, fix bex code pointers. Also added the * flag to sscanf - still only tested against rockdoom sscanf calls.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13547 a1c6a512-1295-4272-9138-f99709370657
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{