diff options
author | Colin Snover | 2016-01-14 10:58:37 -0600 |
---|---|---|
committer | Colin Snover | 2016-01-14 17:21:05 -0600 |
commit | 40f6d74d97618adc80d10244a77c444bf7e613eb (patch) | |
tree | 9d8483df891c8100a17006cd72e8821358f011c0 /engines/sci/graphics | |
parent | 8224d321226793c6d7499c1d1548269ef3912327 (diff) | |
download | scummvm-rg350-40f6d74d97618adc80d10244a77c444bf7e613eb.tar.gz scummvm-rg350-40f6d74d97618adc80d10244a77c444bf7e613eb.tar.bz2 scummvm-rg350-40f6d74d97618adc80d10244a77c444bf7e613eb.zip |
SCI: Minor clean-ups to comments and null pointer values
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/frameout.h | 3 | ||||
-rw-r--r-- | engines/sci/graphics/palette32.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/graphics/frameout.h b/engines/sci/graphics/frameout.h index a422572ef4..0017fb19e8 100644 --- a/engines/sci/graphics/frameout.h +++ b/engines/sci/graphics/frameout.h @@ -110,7 +110,8 @@ class GfxPalette; class GfxScreen; /** - * Frameout class, kFrameout and relevant functions for SCI32 games + * Frameout class, kFrameout and relevant functions for SCI32 games. + * Roughly equivalent to GraphicsMgr in the actual SCI engine. */ class GfxFrameout { public: diff --git a/engines/sci/graphics/palette32.cpp b/engines/sci/graphics/palette32.cpp index 9aa08782a5..8ce8b85678 100644 --- a/engines/sci/graphics/palette32.cpp +++ b/engines/sci/graphics/palette32.cpp @@ -297,7 +297,7 @@ byte GfxPalette32::matchClutColor(uint16 color) { void GfxPalette32::unloadClut() { // This will only unload the actual table, but not reset any palette delete[] _clutTable; - _clutTable = 0; + _clutTable = nullptr; } // |