Libretro: add SYSPROP_DISPLAY_SAFE_INSET* properties. fixes screen frame

size.
This commit is contained in:
aliaspider committed 2020-10-15 00:10:36 +01:00
1 parent 74f8b3c69a
commit b5f7f5350a
1 file changed
+5
+5
View File
@@ -888,6 +888,11 @@ float System_GetPropertyFloat(SystemProperty prop)
{
case SYSPROP_DISPLAY_REFRESH_RATE:
return 60.f;
case SYSPROP_DISPLAY_SAFE_INSET_LEFT:
case SYSPROP_DISPLAY_SAFE_INSET_RIGHT:
case SYSPROP_DISPLAY_SAFE_INSET_TOP:
case SYSPROP_DISPLAY_SAFE_INSET_BOTTOM:
return 0.0f;
default:
break;
}