GPU: Framebuffers kept at native resolution (compat NativeResolutionFramebuffer)

compat.ini's NativeResolutionFramebuffer (an address) keeps that framebuffer at
1x whatever the render resolution, for one that holds data read back texel by
texel: the PS1 emulator unpacks 24-bit video into one three bytes per pixel.

Set for PS1 games (POPS00000).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Henrik RydgårdandClaude Opus 5.5 committed 2026-10-21 14:51:06 +02:00
1 parent c9641b1332
commit da0ecd838e
4 files changed
+33

No files matched your search

+5
View File
@@ -1995,6 +1995,11 @@ void FramebufferManagerCommon::ResizeFramebufFBO(VirtualFramebuffer *vfb, int w,
if (PSP_CoreParameter().compat.flags().Force04154000Download && vfb->fb_address == 0x04154000) {
force1x = true;
}
// compat.ini's NativeResolutionFramebuffer, which holds data read back texel by texel.
const u32 nativeResAddress = PSP_CoreParameter().compat.flags().NativeResolutionFramebuffer;
if (nativeResAddress != 0 && vfb->fb_address == nativeResAddress) {
force1x = true;
}
if (force1x && g_Config.iInternalResolution != 1) {
vfb->renderScaleFactor = 1;