diff --git a/menu/menu_display.c b/menu/menu_display.c index fbfe6e7218..3cba76d5f6 100644 --- a/menu/menu_display.c +++ b/menu/menu_display.c @@ -491,7 +491,7 @@ bool menu_display_ctl(enum menu_display_ctl_state state, void *data) if (settings->menu.dpi.override_enable) *dpi = settings->menu.dpi.override_value; - else if (!gfx_ctx_get_metrics(DISPLAY_METRIC_DPI, dpi)) + else if (!gfx_ctx_get_metrics(DISPLAY_METRIC_DPI, dpi) || !*dpi) *dpi = menu_dpi_override_value; } return true; diff --git a/tasks/task_file_transfer.c b/tasks/task_file_transfer.c index 2666b48e37..df5717850b 100644 --- a/tasks/task_file_transfer.c +++ b/tasks/task_file_transfer.c @@ -14,7 +14,7 @@ */ #include - +#include #include #include #include @@ -325,7 +325,7 @@ bool rarch_task_push_image_load(const char *fullpath, const char *type, rarch_ta if (!handle) { - RARCH_ERR("Could not create new file loading handle.\n"); + RARCH_ERR("[image load] Failed to open '%s': %s.\n", fullpath, strerror(errno)); return false; }