mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #481] [MERGED] Set game window size based on the config (in windowed mode) #1591
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#1591
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/481
Author: @kotn3l
Created: 8/19/2024
Status: ✅ Merged
Merged: 8/20/2024
Merged by: @georgemoralis
Base:
main← Head:main📝 Commits (4)
dc3dd32Set windowed mode size based on configa3e5aa1fix formatting oops630212cemulator.cpp clang format fix (hopefully?)d0bb5c0formatting fix for real📊 Changes
1 file changed (+2 additions, -5 deletions)
View changed files
📝
src/emulator.cpp(+2 -5)📄 Description
Changing the width and height in the emulator config didn't affect the game window size (in non-fullscreen mode). This little PR changes that.
I don't actually know what resolution the games render at, so this might be an issue -- please let me know below. (I guess the games have the info on what resolution to render at for both PS4 and Pro?)
A possible next step would be to make the window properly resizeable, and then just do a basic scaling on the framebuffer based on it, while maintaining aspect ratio.
EDIT: same for fullscreen mode -- for example, I have an ultrawide monitor, and usiong fullscreen mode just stretches the framebuffer.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.