mirror of
https://github.com/libretro/RetroArch
synced 2025-03-21 04:21:13 +00:00
(Apple) ctx_get_metrics - set 'value' to 0 if type is unknown
This commit is contained in:
parent
da212f460f
commit
371ed277a9
@ -544,6 +544,7 @@ static bool apple_gfx_ctx_get_metrics(void *data, enum display_metric_types type
|
||||
*value = (displayWidth/ physicalWidth) * 25.4f;
|
||||
break;
|
||||
default:
|
||||
*value = 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user