From 8d1082b29026c20020bbb01c97a6f44f0ee2eba2 Mon Sep 17 00:00:00 2001 From: mjbudd77 <44712797+mjbudd77@users.noreply.github.com> Date: Mon, 28 Dec 2020 17:07:25 -0500 Subject: [PATCH] Ported over recent fix to PalettePoke function from windows to Qt. (#287) --- src/drivers/Qt/HexEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/Qt/HexEditor.cpp b/src/drivers/Qt/HexEditor.cpp index cdc16865..8f078aca 100644 --- a/src/drivers/Qt/HexEditor.cpp +++ b/src/drivers/Qt/HexEditor.cpp @@ -269,7 +269,7 @@ static void PalettePoke(uint32 addr, uint8 data) } else { - UPALRAM[addr-1] = UPALRAM[0x10|(addr-1)] = data; + UPALRAM[addr-1] = data; } } else