aboutsummaryrefslogtreecommitdiffstats
path: root/QW/client
diff options
context:
space:
mode:
Diffstat (limited to 'QW/client')
-rw-r--r--QW/client/snd_sdl.c5
-rw-r--r--QW/client/vid_x.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/QW/client/snd_sdl.c b/QW/client/snd_sdl.c
index a65758c..fb46cb9 100644
--- a/QW/client/snd_sdl.c
+++ b/QW/client/snd_sdl.c
@@ -117,8 +117,9 @@ qboolean SNDDMA_Init (dma_t *dma)
}
/* i think i'm just zeroing dma mem here */
memset ((void *) dma, 0, sizeof(dma_t));
- /*shm = dma;*/
- shm = &sn;
+ Con_Printf("TRYING TO INIT AUDIO\n");
+ shm = dma;
+ // shm = &sn;
/* Fill the audio DMA information block */
/* Since we passed NULL as the 'obtained' spec to SDL_OpenAudio(),
diff --git a/QW/client/vid_x.c b/QW/client/vid_x.c
index c96545c..fc785b6 100644
--- a/QW/client/vid_x.c
+++ b/QW/client/vid_x.c
@@ -450,6 +450,9 @@ void VID_Init (unsigned char *palette)
XVisualInfo template;
int num_visuals;
int template_mask;
+
+ // Sound init is here in quakeworld. Not sure why. :p
+ S_Init();
ignorenext=0;
vid.width = 320;