-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-imagine what the "Aspect Ratio Correction" core option does (#512)
- Apply column and/or row doubling on the frame buffer as is requested by DOSBox's video card emulation - Report a fixed 4:3 (1.3333) aspect ratio to the frontend which matches a computer monitor that would have been used with DOS ever since the earliest personal computers
- Loading branch information
1 parent
06749fe
commit 4c5cb55
Showing
3 changed files
with
85 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Since this is the part that does the heavy-lifting of pixel-doubling, maybe we could explicitly use SIMD extensions to try to improve performance (unless compiler is clever enough to do it for us).
But here is the proposal using SIMD for benchmarking (I didn't test it though):