diff options
author | Michael Pavone <pavone@retrodev.com> | 2019-03-27 22:23:55 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2019-03-27 22:23:55 -0700 |
commit | 37e227263303d9f0a048551bc2ee9c3de6294662 (patch) | |
tree | 9a08d382d135e919a906f484d512567cd3a58b70 | |
parent | 62e10bddeaec560ef8e1f95a9058e3789646c98e (diff) |
Restore some newlines in debug output that got lost when fixing GDB remote debugging issue
-rwxr-xr-x | render_sdl.c | 4 | ||||
-rw-r--r-- | romdb.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/render_sdl.c b/render_sdl.c index c58cff9..f25eac9 100755 --- a/render_sdl.c +++ b/render_sdl.c @@ -1059,11 +1059,11 @@ static void init_audio() 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 { @@ -898,7 +898,7 @@ rom_info configure_rom(tern_node *rom_db, void *vrom, uint32_t rom_size, void *l 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 @@ rom_info configure_rom(tern_node *rom_db, void *vrom, uint32_t rom_size, void *l 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); |