mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 14:25:37 +00:00
GPU: Ignore display start bit 0 instead of reducing width
This commit is contained in:
parent
93abf8e53d
commit
4d1880091e
|
@ -623,14 +623,14 @@ protected:
|
||||||
{
|
{
|
||||||
struct Regs
|
struct Regs
|
||||||
{
|
{
|
||||||
static constexpr u32 DISPLAY_ADDRESS_START_MASK = 0b111'11111111'11111111;
|
static constexpr u32 DISPLAY_ADDRESS_START_MASK = 0b111'11111111'11111110;
|
||||||
static constexpr u32 HORIZONTAL_DISPLAY_RANGE_MASK = 0b11111111'11111111'11111111;
|
static constexpr u32 HORIZONTAL_DISPLAY_RANGE_MASK = 0b11111111'11111111'11111111;
|
||||||
static constexpr u32 VERTICAL_DISPLAY_RANGE_MASK = 0b1111'11111111'11111111;
|
static constexpr u32 VERTICAL_DISPLAY_RANGE_MASK = 0b1111'11111111'11111111;
|
||||||
|
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
u32 display_address_start;
|
u32 display_address_start;
|
||||||
BitField<u32, u16, 1, 9> X;
|
BitField<u32, u16, 0, 10> X;
|
||||||
BitField<u32, u16, 10, 9> Y;
|
BitField<u32, u16, 10, 9> Y;
|
||||||
};
|
};
|
||||||
union
|
union
|
||||||
|
|
Loading…
Reference in a new issue