Libretro: add SYSPROP_DISPLAY_SAFE_INSET* properties. fixes screen frame

size.
This commit is contained in:
aliaspider 2020-10-14 23:34:01 +01:00
parent 74f8b3c69a
commit b5f7f5350a

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;
}