changeset 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 af14c21939f6
files render_sdl.c romdb.c
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
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 {
--- a/romdb.c	Wed Mar 27 22:19:49 2019 -0700
+++ b/romdb.c	Wed Mar 27 22:23:55 2019 -0700
@@ -898,7 +898,7 @@
 		entry = tern_find_node(rom_db, product_id);
 	}
 	if (!entry) {
-		debug_message("Not found in ROM DB, examining header\n");
+		debug_message("Not found in ROM DB, examining header\n\n");
 		if (xband_detect(rom, rom_size)) {
 			return xband_configure_rom(rom_db, rom, rom_size, lock_on, lock_on_size, base_map, base_chunks);
 		}
@@ -911,7 +911,7 @@
 	info.mapper_type = MAPPER_NONE;
 	info.name = tern_find_ptr(entry, "name");
 	if (info.name) {
-		debug_message("Found name: %s\n", info.name);
+		debug_message("Found name: %s\n\n", info.name);
 		info.name = strdup(info.name);
 	} else {
 		info.name = get_header_name(rom);