mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix bluescreen layout on notched phones
This commit is contained in:
parent
ac6715baa9
commit
bc3ee5a60d
1 changed files with 6 additions and 3 deletions
|
@ -1289,8 +1289,8 @@ Game ID (Title): %s (%s)
|
|||
);
|
||||
|
||||
draw2d->SetFontScale(.7f, .7f);
|
||||
int x = 20;
|
||||
int y = 50;
|
||||
int x = 20 + System_GetPropertyFloat(SYSPROP_DISPLAY_SAFE_INSET_LEFT);
|
||||
int y = 50 + System_GetPropertyFloat(SYSPROP_DISPLAY_SAFE_INSET_TOP);
|
||||
draw2d->DrawTextShadow(ubuntu24, statbuf, x, y, 0xFFFFFFFF);
|
||||
y += 140;
|
||||
|
||||
|
@ -1333,7 +1333,10 @@ BREAK
|
|||
g_Config.iCpuCore,
|
||||
g_Config.iLockedCPUSpeed);
|
||||
|
||||
draw2d->DrawTextShadow(ubuntu24, statbuf, 420, 50, 0xFFFFFFFF);
|
||||
x += 400;
|
||||
y = 50;
|
||||
|
||||
draw2d->DrawTextShadow(ubuntu24, statbuf, x, y, 0xFFFFFFFF);
|
||||
}
|
||||
|
||||
static void DrawAudioDebugStats(DrawBuffer *draw2d, const Bounds &bounds) {
|
||||
|
|
Loading…
Add table
Reference in a new issue