summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Ryan Holtz <rholtz@batcountryentertainment.com>2008-04-07 01:51:35 +0000
committer Ryan Holtz <rholtz@batcountryentertainment.com>2008-04-07 01:51:35 +0000
commit947697a18d52047b0523a2ee916b528458bf27e4 (patch)
tree56cd2bddebd18d0c0c282c1aa8bacaa34cc5e048
parent4254afc8b5071ac43422853e70adce4c102d2daf (diff)
Whoops. Left some debugging code in there.
-rw-r--r--src/mame/machine/n64.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/mame/machine/n64.c b/src/mame/machine/n64.c
index 696d38efe7e..f8ae451e1a0 100644
--- a/src/mame/machine/n64.c
+++ b/src/mame/machine/n64.c
@@ -741,10 +741,6 @@ static void audio_fifo_push(UINT32 address, UINT32 length)
{
AUDIO_DMA *current;
- //FILE *audio_dump = fopen( "audio.bin", "a+b" );
- //fwrite((INT16*)rdram+(address/2),length,1,audio_dump);
- //fclose(audio_dump);
-
if (audio_fifo_num == AUDIO_DMA_DEPTH)
{
mame_printf_debug("audio_fifo_push: tried to push to full DMA FIFO!!!\n");
@@ -816,12 +812,12 @@ static void start_audio_dma(void)
AUDIO_DMA *current = audio_fifo_get_top();
attotime period;
- static FILE * audio_dump = NULL;
-
- if (audio_dump == NULL)
- audio_dump = fopen("audio_dump.raw","wb");
-
- fwrite(&ram[current->address/2],current->length,1,audio_dump);
+ //static FILE * audio_dump = NULL;
+ //
+ //if (audio_dump == NULL)
+ // audio_dump = fopen("audio_dump.raw","wb");
+ //
+ //fwrite(&ram[current->address/2],current->length,1,audio_dump);
ram = &ram[current->address/2];