aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorNicolas Bacca2002-11-07 00:30:52 +0000
committerNicolas Bacca2002-11-07 00:30:52 +0000
commit3148f2daea1ae0ac185ee7a40ecc5e7ad54a0566 (patch)
tree7a82d53d02fe5c4583e25fef1300116f7d5780f1 /backends
parent7aab43a24be1238733e4663158ef61e2220917a5 (diff)
downloadscummvm-rg350-3148f2daea1ae0ac185ee7a40ecc5e7ad54a0566.tar.gz
scummvm-rg350-3148f2daea1ae0ac185ee7a40ecc5e7ad54a0566.tar.bz2
scummvm-rg350-3148f2daea1ae0ac185ee7a40ecc5e7ad54a0566.zip
Do not commit useless debug code
svn-id: r5452
Diffstat (limited to 'backends')
-rw-r--r--backends/wince/pocketpc.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/backends/wince/pocketpc.cpp b/backends/wince/pocketpc.cpp
index fc011b8afa..b987138df8 100644
--- a/backends/wince/pocketpc.cpp
+++ b/backends/wince/pocketpc.cpp
@@ -1818,36 +1818,10 @@ bool OSystem_WINCE3::poll_event(Event *event) {
return false;
}
-//#define MAX_DEBUG_SOUND 10
-
void own_soundProc(void *buffer, byte *samples, int len) {
-/*
- static int debug_sound_counter = 0;
-
- static FILE *debug_sound = NULL;
-*/
-
(*real_soundproc)(buffer, samples, len);
-/*
- if (debug_sound_counter < MAX_DEBUG_SOUND) {
- int i;
-
- for (i=0; i<len; i++)
- if (samples[i])
- break;
- if (i != len) {
- if (!debug_sound_counter)
- debug_sound = fopen("\\Carte de stockage\\sound.dmp", "wb");
- fwrite(samples, 1, len, debug_sound);
- debug_sound_counter++;
- if (debug_sound_counter == MAX_DEBUG_SOUND)
- fclose(debug_sound);
- }
- }
-*/
-
if (!sound_activated)
memset(samples, 0, len);
}