diff render_sdl.c @ 1810:73a9d06413bc

Restore some newlines in debug output that got lost when fixing GDB remote debugging issue
author Michael Pavone <pavone@retrodev.com>
date Wed, 27 Mar 2019 22:23:55 -0700
parents c2057d79998c
children 70a1304b432b
line wrap: on
line diff
--- a/render_sdl.c	Wed Mar 27 22:19:49 2019 -0700
+++ b/render_sdl.c	Wed Mar 27 22:23:55 2019 -0700
@@ -1059,11 +1059,11 @@
 	debug_message("Initialized audio at frequency %d with a %d sample buffer, ", actual.freq, actual.samples);
 	sample_size = SDL_AUDIO_BITSIZE(actual.format) / 8;
 	if (actual.format == AUDIO_S16SYS) {
-		debug_message("signed 16-bit int format");
+		debug_message("signed 16-bit int format\n");
 		convert = convert_s16;
 		mix_buf = calloc(output_channels * buffer_samples, sizeof(float));
 	} else if (actual.format == AUDIO_F32SYS) {
-		debug_message("32-bit float format");
+		debug_message("32-bit float format\n");
 		convert = clamp_f32;
 		mix_buf = NULL;
 	} else {