summaryrefslogtreecommitdiff
path: root/apps/plugins/midi/midiutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/midi/midiutil.c')
-rw-r--r--apps/plugins/midi/midiutil.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/plugins/midi/midiutil.c b/apps/plugins/midi/midiutil.c
index acb1558268..ab90e15c51 100644
--- a/apps/plugins/midi/midiutil.c
+++ b/apps/plugins/midi/midiutil.c
@@ -54,13 +54,13 @@ void *alloc(int size)
54 54
55 if (size + 4 > (int)totalSize) 55 if (size + 4 > (int)totalSize)
56 { 56 {
57 printf("MALLOC BARF"); 57 midi_debug("MALLOC BARF");
58 printf("MALLOC BARF"); 58 midi_debug("MALLOC BARF");
59 printf("MALLOC BARF"); 59 midi_debug("MALLOC BARF");
60 printf("MALLOC BARF"); 60 midi_debug("MALLOC BARF");
61 printf("MALLOC BARF"); 61 midi_debug("MALLOC BARF");
62 printf("MALLOC BARF"); 62 midi_debug("MALLOC BARF");
63 printf("MALLOC BARF"); 63 midi_debug("MALLOC BARF");
64 /* We've made our point. */ 64 /* We've made our point. */
65 65
66 return NULL; 66 return NULL;
@@ -132,8 +132,8 @@ int eof(int fd)
132 return size+1 == rb->lseek(fd, 0, SEEK_CUR); 132 return size+1 == rb->lseek(fd, 0, SEEK_CUR);
133} 133}
134 134
135// Here is a hacked up printf command to get the output from the game. 135/* Here is a hacked up printf command to get the output from the game. */
136int printf(const char *fmt, ...) 136int midi_debug(const char *fmt, ...)
137{ 137{
138 static int p_xtpt = 0; 138 static int p_xtpt = 0;
139 char p_buf[50]; 139 char p_buf[50];