[Scummvm-git-logs] scummvm master -> caebe92a934562a529e0ddfaeb5c35ad8360ad76
AReim1982
noreply at scummvm.org
Sat Oct 24 05:02:19 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
caebe92a93 WII: Clean up comments and variable ordering
Commit: caebe92a934562a529e0ddfaeb5c35ad8360ad76
https://github.com/scummvm/scummvm/commit/caebe92a934562a529e0ddfaeb5c35ad8360ad76
Author: Alexander Reim (alexander at areim.de)
Date: 2026-10-24T07:02:15+02:00
Commit Message:
WII: Clean up comments and variable ordering
Changed paths:
backends/platform/wii/osystem_gfx.cpp
diff --git a/backends/platform/wii/osystem_gfx.cpp b/backends/platform/wii/osystem_gfx.cpp
index 6cb41edf902..3a75f3f2cd9 100644
--- a/backends/platform/wii/osystem_gfx.cpp
+++ b/backends/platform/wii/osystem_gfx.cpp
@@ -283,7 +283,6 @@ void OSystem_Wii::initSize(uint width, uint height,
free(_gamePixelsTexture);
if (_pfGame.bytesPerPixel > 1) {
- // TODO: Support other texture formats?
tex_format = GFX_TF_RGB565;
_pfGameTexture = _pfRGB565;
} else {
@@ -347,7 +346,7 @@ void OSystem_Wii::updateMousePalette() {
// In this case, clear the palette
memset(_texMouse.palette, 0, 256 * 2);
} else {
- u8 r, b, g;
+ u8 r, g, b;
for (uint i = 0; i < 256; ++i) {
_pfRGB565.colorToRGB(_texGame.palette[i], r, g, b);
_texMouse.palette[i] = _pfRGB3444.ARGBToColor(0xff, r, g, b);
@@ -489,8 +488,8 @@ void OSystem_Wii::updateScreen() {
_gameWidth * _pfGame.bytesPerPixel,
_gameWidth, _gameHeight, _pfGameTexture, _pfGame);
}
-
}
+
gfx_tex_convert(&_texGame, _gamePixelsTexture);
_gameDirty = false;
}
@@ -740,7 +739,6 @@ void OSystem_Wii::setMouseCursor(const void *buf, uint w, uint h, int hotspotX,
else
d++;
}
-
d += tw - w;
}
} else {
More information about the Scummvm-git-logs
mailing list