Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08649 Interface Minor Always May 30, 2023, 18:04 Jun 2, 2023, 18:31
Tester holub View Status Public Platform MAME (Self-compiled)
Assigned To Resolution No change required OS Linux (64-bit)
Status [?] Closed Driver
Version 0.254 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 08649: Window scaling doesn't match resolution
Description Defined window resolution doesn't scale precisely
Steps To Reproduce mame spec128 -window -resolution 352x296
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
jpg file icon spectrum_window.jpg (14,229 bytes) May 30, 2023, 18:04 Uploaded by holub
holub
jpg file icon spectrum_splash.jpg (3,270 bytes) May 30, 2023, 18:05 Uploaded by holub
holub
Relationships
There are no relationship linked to this issue.
Notes
4
User avatar
No.21473
cuavas
Administrator
May 30, 2023, 20:01
Do you need to use -nokeepaspect to make it stretch the layout to the window size?
User avatar
No.21474
holub
Tester
May 30, 2023, 20:54
edited on: May 30, 2023, 23:54
Possibly but current behavior if quite non-intuitive. I use precise values of driver's resolution and get weird results.
Even knowing that aspect ration is 4:3 it's hard to figure out what should be window size to get clear picture.
User avatar
No.21490
cuavas
Administrator
Jun 1, 2023, 18:41
All -resolution does in combination with -window is set the initial window size. If you want to layout stretched non-proportionally to fill the window, you need to use -nokeepaspect as well.

If the emulated system doesn’t have square pixels, it’s necessarily going to end up scaled “unevenly” unless you select a “pixel aspect” view in the Video Options menu.

By default, it’s supposed to display the correct screen aspect ratio. Or as we like to say, Chun-Li is not supposed to be a fat chick. I don’t see how it’s behaving incorrectly.
User avatar
No.21498
holub
Tester
Jun 2, 2023, 16:20
Yeah. Taking in consideration what resolution is resolution of display not driver I think we can close this.