diff options
author | Thomas White <taw27@cam.ac.uk> | 2009-03-16 15:57:11 +0000 |
---|---|---|
committer | Thomas White <taw27@cam.ac.uk> | 2009-03-16 15:57:11 +0000 |
commit | 6790d884ccc58bf834997d27b7497226bafa7bdc (patch) | |
tree | 8c4be1bf9787753d05e68a2bb84ef4c8e00db313 | |
parent | c190b15d98a44a104b90630dec6f2659fed5bcf4 (diff) |
Debugging
-rw-r--r-- | src/audio.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/audio.c b/src/audio.c index 1cd713d..cfe6939 100644 --- a/src/audio.c +++ b/src/audio.c @@ -78,8 +78,11 @@ void audio_trigger_moo() { a = audio_context; if ( a == NULL ) return; } - if ( a->mootex != 0 ) return; - + if ( a->mootex != 0 ) { + printf("Mootex says 'no'\n"); + return; + } + printf("Moo!\n"); a->mootex = 1; |