From 4d1880091eb03173a77ef39047096c4c2688cc2f Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 10 Jul 2020 20:31:58 +1000 Subject: [PATCH] GPU: Ignore display start bit 0 instead of reducing width --- src/core/gpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/gpu.h b/src/core/gpu.h index 7e690d9d6..acd434091 100644 --- a/src/core/gpu.h +++ b/src/core/gpu.h @@ -623,14 +623,14 @@ protected: { 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 VERTICAL_DISPLAY_RANGE_MASK = 0b1111'11111111'11111111; union { u32 display_address_start; - BitField X; + BitField X; BitField Y; }; union