mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Windows: Prevent applying -1 as inset space.
This commit is contained in:
1 parent
268df5aa6c
commit
fd0bf21215
3 files changed
+15
No files matched your search
@@ -248,6 +248,11 @@ float System_GetPropertyFloat(SystemProperty prop) {
|
||||
return 60.f;
|
||||
case SYSPROP_DISPLAY_DPI:
|
||||
return (float)ScreenDPI();
|
||||
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:
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user