[Scummvm-git-logs] scummvm master -> 39e8cf97edcaa9ca7ddfab0b56e08f5005dad07b
athrxx
noreply at scummvm.org
Sun Sep 22 18:56:03 UTC 2024
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:
39e8cf97ed SCI: remove unused var
Commit: 39e8cf97edcaa9ca7ddfab0b56e08f5005dad07b
https://github.com/scummvm/scummvm/commit/39e8cf97edcaa9ca7ddfab0b56e08f5005dad07b
Author: athrxx (athrxx at scummvm.org)
Date: 2024-09-22T20:55:03+02:00
Commit Message:
SCI: remove unused var
Changed paths:
engines/sci/graphics/gfxdrivers.cpp
engines/sci/graphics/gfxdrivers.h
diff --git a/engines/sci/graphics/gfxdrivers.cpp b/engines/sci/graphics/gfxdrivers.cpp
index 7c79f6581d7..30b334cc1b1 100644
--- a/engines/sci/graphics/gfxdrivers.cpp
+++ b/engines/sci/graphics/gfxdrivers.cpp
@@ -1324,7 +1324,7 @@ void UpscaledGfxDriver::adjustCursorBuffer(uint16 newWidth, uint16 newHeight) {
PC98Gfx16ColorsDriver::PC98Gfx16ColorsDriver(int textAlignX, bool cursorScaleWidth, bool cursorScaleHeight, SjisFontStyle sjisFontStyle, bool rgbRendering, bool needsUnditheringPalette) :
UpscaledGfxDriver(320, 200, textAlignX, cursorScaleWidth && cursorScaleHeight, rgbRendering), _textModePalette(nullptr), _fontStyle(sjisFontStyle),
- _cursorScaleHeightOnly(!cursorScaleWidth && cursorScaleHeight), _needsUnditheringPalette(needsUnditheringPalette), _convPalette(nullptr) {
+ _cursorScaleHeightOnly(!cursorScaleWidth && cursorScaleHeight), _convPalette(nullptr) {
// Palette taken from driver file (identical for all versions of the
// driver I have seen so far, also same for SCI0 and SCI1)
static const byte pc98colorsV16[] = {
diff --git a/engines/sci/graphics/gfxdrivers.h b/engines/sci/graphics/gfxdrivers.h
index 7c073f30925..c0d35a8f44c 100644
--- a/engines/sci/graphics/gfxdrivers.h
+++ b/engines/sci/graphics/gfxdrivers.h
@@ -273,7 +273,6 @@ private:
const byte *_convPalette;
const byte *_textModePalette;
const bool _cursorScaleHeightOnly;
- const bool _needsUnditheringPalette;
SjisFontStyle _fontStyle;
};
More information about the Scummvm-git-logs
mailing list