summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrender_sdl.c4
-rw-r--r--romdb.c4
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 {
diff --git a/romdb.c b/romdb.c
index 88d199b..b7bee28 100644
--- a/romdb.c
+++ b/romdb.c
@@ -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);