From aec5814d436f6307dc3e6a1a09aa1ffec5709c27 Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Sun, 3 Jun 2007 22:03:36 +0000 Subject: 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 --- apps/plugins/doom/rockdoom.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/plugins/doom/rockdoom.c') 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; bool noprintf=0; // Variable disables printf lcd updates to protect grayscale lib/direct lcd updates +#ifndef SIMULATOR // Here is a hacked up printf command to get the output from the game. int printf(const char *fmt, ...) { @@ -129,6 +130,7 @@ int printf(const char *fmt, ...) } return 1; } +#endif char *my_strtok( char * s, const char * delim ) { -- cgit v1.2.3