mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 18:32:44 +00:00
fix unused warning, add extra info to cdrom print
This commit is contained in:
parent
f3faecdb27
commit
cb2be97e7d
@ -85,6 +85,9 @@ static void sixel_render_msg(video_frame_info_t *video_info,
|
||||
sixel_raster_t *font = (sixel_raster_t*)data;
|
||||
const struct font_params *params = (const struct font_params*)userdata;
|
||||
|
||||
(void)newX;
|
||||
(void)newY;
|
||||
|
||||
if (!font || string_is_empty(msg))
|
||||
return;
|
||||
|
||||
|
@ -296,7 +296,7 @@ bool media_detect_cd_info(const char *path, uint64_t pregap_bytes, media_detect_
|
||||
|
||||
if (read_bytes != buf_size)
|
||||
{
|
||||
printf("[MEDIA] Could not read from media.\n");
|
||||
printf("[MEDIA] Could not read from media: got %" PRId64 " bytes instead of %d.\n", read_bytes, buf_size);
|
||||
fflush(stdout);
|
||||
filestream_close(file);
|
||||
free(buf);
|
||||
|
Loading…
x
Reference in New Issue
Block a user