mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
[PR #603] [MERGED] GPU: Compute VRAM display width from GP1(06h) values #54
Reference in New Issue
Block a user
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/stenzek/duckstation/pull/603
Author: @ggrtk
Created: 7/11/2020
Status: ✅ Merged
Merged: 7/12/2020
Merged by: @stenzek
Base:
master← Head:gpu-crtc📝 Commits (1)
c44e74dGPU: Compute VRAM display width from GP1(06h) values📊 Changes
1 file changed (+9 additions, -18 deletions)
View changed files
📝
src/core/gpu.cpp(+9 -18)📄 Description
We should be applying crop after determining the VRAM display width from GPU values rather than calculating it from the number of video clock ticks in the configurable visible display region. This is a better representation of what happens in hardware, since the GPU has no concept of what's visible or not on the user side, and is less susceptible to rounding errors than the previous method.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.