# HG changeset patch # User Michael Pavone # Date 1553750635 25200 # Node ID 73a9d06413bcf14a3b9a043aeb49b916c0418920 # Parent c2057d79998c3540248e18b0c04379f43541b943 Restore some newlines in debug output that got lost when fixing GDB remote debugging issue diff -r c2057d79998c -r 73a9d06413bc render_sdl.c --- 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 { diff -r c2057d79998c -r 73a9d06413bc romdb.c --- 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);