diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hopkins/events.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/events.cpp b/engines/hopkins/events.cpp index 3cacd369b1..c55d0c5395 100644 --- a/engines/hopkins/events.cpp +++ b/engines/hopkins/events.cpp @@ -485,7 +485,7 @@ void EventsManager::updateCursor() { for (int i = 0; i < PALETTE_SIZE; i++) { uint8 r, g, b; - pixelFormat.colorToRGB(paletteColors[i], r, g, b); + pixelFormat.colorToRGB(READ_LE_UINT16(&paletteColors[i]), r, g, b); cursorPalette[3 * i] = r; cursorPalette[3 * i + 1] = g; cursorPalette[3 * i + 2] = b; |