mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
RealXFB sizes don't get scaled by IR
When calculating the size of the undisplayed margin in the case where fbWidth != fbStride for RealXFB for displaying in the output window, we do not scale by IR - RealXFB is implicitly 1x.
This commit is contained in:
parent
2e28ed3291
commit
c43ae67b3b
2 changed files with 12 additions and 11 deletions
|
@ -19,9 +19,10 @@ enum
|
|||
EFB_HEIGHT = 528,
|
||||
};
|
||||
|
||||
// XFB width is decided by EFB copy operation. The VI can do horizontal
|
||||
// scaling (TODO: emulate).
|
||||
const u32 MAX_XFB_WIDTH = EFB_WIDTH;
|
||||
// Max XFB width is 720. You can only copy out 640 wide areas of efb to XFB
|
||||
// so you need multiple copies to do the full width.
|
||||
// The VI can do horizontal scaling (TODO: emulate).
|
||||
const u32 MAX_XFB_WIDTH = 720;
|
||||
|
||||
// Although EFB height is 528, 574-line XFB's can be created either with
|
||||
// vertical scaling by the EFB copy operation or copying to multiple XFB's
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue