mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-12 22:10:29 +02:00
NativeInitGraphics: Update core parameter pixel width/height (since we lose resized flag)
This commit is contained in:
1 parent
e40fbba02b
commit
4b89fab91c
3 files changed
+6
No files matched your search
@@ -885,6 +885,8 @@ bool NativeInitGraphics(GraphicsContext *graphicsContext) {
|
||||
g_gameInfoCache = new GameInfoCache();
|
||||
|
||||
if (gpu) {
|
||||
PSP_CoreParameter().pixelWidth = g_display.pixel_xres;
|
||||
PSP_CoreParameter().pixelHeight = g_display.pixel_yres;
|
||||
gpu->DeviceRestore(g_draw);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user