Fix default palette detection of CLUTs 1:7 and 3:7
This commit is contained in:
1 parent
bd894a523e
commit
c8f61d4d2c
1 file changed
+1
-1
+1
-1
@@ -396,7 +396,7 @@ bool LevelOnePage::isPaletteDefault(int colour) const
|
||||
|
||||
bool LevelOnePage::isPaletteDefault(int fromColour, int toColour) const
|
||||
{
|
||||
for (int i=fromColour; i<toColour; i++)
|
||||
for (int i=fromColour; i<=toColour; i++)
|
||||
if (m_CLUT[i] != m_defaultCLUT[i])
|
||||
return false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user