mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 22:58:09 +00:00
HDB: Fix warnings
This commit is contained in:
parent
373002d303
commit
100ea9ff0e
@ -381,7 +381,6 @@ void Gfx::updateFade() {
|
||||
uint8 r, g, b;
|
||||
uint16 value;
|
||||
uint16 *ptr;
|
||||
static int waitAFrame = 0;
|
||||
|
||||
if (!_fadeInfo.active && !_fadeInfo.stayFaded)
|
||||
return;
|
||||
@ -445,6 +444,8 @@ void Gfx::updateFade() {
|
||||
} else {
|
||||
_fadeBuffer2.blitFrom(_globalSurface);
|
||||
|
||||
static int waitAFrame = 0;
|
||||
|
||||
do {
|
||||
// Copy pristine copy of background to modification buffer
|
||||
_fadeBuffer1.blitFrom(_fadeBuffer2);
|
||||
|
@ -949,7 +949,7 @@ Common::Error HDBGame::run() {
|
||||
strcpy(mapname, "CINE_OUTRO");
|
||||
|
||||
if (isDemo())
|
||||
strncat(mapname, "_DEMO", 20);
|
||||
strcat(mapname, "_DEMO");
|
||||
|
||||
debug("Starting level %s in %s", mapname, getActionMode() ? "Action Mode" : "Puzzle Mode");
|
||||
|
||||
|
@ -474,8 +474,8 @@ void Window::loadSaveFile(Common::InSaveFile *in) {
|
||||
in->read(t->text, 128);
|
||||
t->x = in->readSint32LE();
|
||||
t->y = in->readSint32LE();
|
||||
t->timer = in->readUint32LE();
|
||||
t->timer = g_system->getMillis() + 1000;
|
||||
(void)in->readUint32LE(); // Skip timer value
|
||||
t->timer = g_system->getMillis() + 1000; // And override it to a second
|
||||
|
||||
_textOutList.push_back(t);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user