[Scummvm-git-logs] scummvm master -> 9a016f5ad0af3625af02b613a6ed7faaebfa1d3d
lephilousophe
noreply at scummvm.org
Mon Apr 11 19:42:49 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
9a016f5ad0 HYPNO: Fix AmigaOS4 build
Commit: 9a016f5ad0af3625af02b613a6ed7faaebfa1d3d
https://github.com/scummvm/scummvm/commit/9a016f5ad0af3625af02b613a6ed7faaebfa1d3d
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2022-04-11T21:42:28+02:00
Commit Message:
HYPNO: Fix AmigaOS4 build
Changed paths:
engines/hypno/hypno.cpp
diff --git a/engines/hypno/hypno.cpp b/engines/hypno/hypno.cpp
index dba13b95174..227a59f81a3 100644
--- a/engines/hypno/hypno.cpp
+++ b/engines/hypno/hypno.cpp
@@ -434,7 +434,7 @@ void HypnoEngine::loadPalette(const byte *palette, uint32 offset, uint32 size) {
}
-byte *HypnoEngine::getPalette(uint idx) {
+byte *HypnoEngine::getPalette(uint32 idx) {
byte *videoPalette = (byte *)malloc(3);
g_system->getPaletteManager()->grabPalette(videoPalette, idx, 1);
return videoPalette;
More information about the Scummvm-git-logs
mailing list