mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-15 03:38:37 +00:00
Restore some code that should not have been deleted (dupe on windows but not on other platforms)
This commit is contained in:
parent
2a99fe83e3
commit
669508ed80
@ -1657,6 +1657,13 @@ void FramebufferManager::EndFrame() {
|
||||
if (resized_) {
|
||||
DestroyAllFBOs();
|
||||
glstate.viewport.set(0, 0, pixelWidth_, pixelHeight_);
|
||||
#ifndef _WIN32 // We do the same thing elsewhere
|
||||
int zoom = g_Config.iInternalResolution;
|
||||
if (zoom == 0) // auto mode
|
||||
zoom = (pixelWidth_ + 479) / 480;
|
||||
PSP_CoreParameter().renderWidth = 480 * zoom;
|
||||
PSP_CoreParameter().renderHeight = 272 * zoom;
|
||||
#endif
|
||||
resized_ = false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user