mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 10:17:14 +00:00
oops. reverted last change.
svn-id: r18938
This commit is contained in:
parent
b76d1b36ae
commit
b332ea95ec
12
saga/gfx.cpp
12
saga/gfx.cpp
@ -203,8 +203,8 @@ void Gfx::setPalette(const PalEntry *pal, bool full) {
|
||||
from = 0;
|
||||
numcolors = PAL_ENTRIES;
|
||||
} else {
|
||||
from = 1;
|
||||
numcolors = 247;
|
||||
from = 0;
|
||||
numcolors = 248;
|
||||
}
|
||||
|
||||
for (i = 0, ppal = &_currentPal[from * 4]; i < numcolors; i++, ppal += 4) {
|
||||
@ -273,8 +273,8 @@ void Gfx::palToBlack(PalEntry *srcPal, double percent) {
|
||||
from = 0;
|
||||
numcolors = PAL_ENTRIES;
|
||||
} else {
|
||||
from = 1;
|
||||
numcolors = 247;
|
||||
from = 0;
|
||||
numcolors = 248;
|
||||
}
|
||||
|
||||
if (percent > 1.0) {
|
||||
@ -338,8 +338,8 @@ void Gfx::blackToPal(PalEntry *srcPal, double percent) {
|
||||
from = 0;
|
||||
numcolors = PAL_ENTRIES;
|
||||
} else {
|
||||
from = 1;
|
||||
numcolors = 247;
|
||||
from = 0;
|
||||
numcolors = 248;
|
||||
}
|
||||
|
||||
if (percent > 1.0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user