mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
commit
ce9be72757
@ -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;
|
||||
|
@ -14,7 +14,7 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <file/nbio.h>
|
||||
#include <formats/image.h>
|
||||
#include <formats/rpng.h>
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user