Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The game screen size is incorrect when the High DPI function is turned on. #10

Open
dulingzhi opened this issue Jan 10, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@dulingzhi
Copy link

Snipaste_2024-01-10_14-01-47
@celerizer
Copy link
Member

celerizer commented Jan 10, 2024

Sorry, what do you mean by the High DPI function? Please let me know which core and which game.

@dulingzhi
Copy link
Author

core: fbalpha2012_cps2
game: https://winkawaks.org/roms/cps2/hsf2.htm

Enable Qt HIGH DPI scaling
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);

@celerizer celerizer added the bug Something isn't working label Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants