NativeInitGraphics: Update core parameter pixel width/height (since we lose resized flag)

This commit is contained in:
Henrik Rydgård committed 2023-08-30 23:42:13 +02:00
1 parent e40fbba02b
commit 4b89fab91c
3 files changed
+6

No files matched your search

+2
View File
@@ -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);
}