MAX_XFB_HEIGHT: PAL value off by two fixed

This commit is contained in:
Sepalani 2016-11-10 00:41:16 +00:00
parent a4be51109c
commit 44935c23e0

View file

@ -26,10 +26,10 @@ enum
// 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
// Although EFB height is 528, 576-line XFB's can be created either with
// vertical scaling by the EFB copy operation or copying to multiple XFB's
// that are next to each other in memory (TODO: handle that situation).
const u32 MAX_XFB_HEIGHT = 574;
const u32 MAX_XFB_HEIGHT = 576;
// This structure should only be used to represent a rectangle in EFB
// coordinates, where the origin is at the upper left and the frame dimensions