mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 17:57:14 +00:00
NANCY: Fix single frame with wrong palette in The Vampire Diaries
Fixed an issue where the screen would render with an incorrect palette once before switching to the correct one in TVD.
This commit is contained in:
parent
913f4502a6
commit
9ede2f3c91
@ -123,6 +123,7 @@ void Scene::process() {
|
||||
// fall through
|
||||
case kLoad:
|
||||
load();
|
||||
run(); // Extra run() call to fix the single frame with a wrong palette in TVD
|
||||
// fall through
|
||||
case kStartSound:
|
||||
_state = kRun;
|
||||
@ -436,7 +437,6 @@ void Scene::init() {
|
||||
// Load savefile directly from the launcher
|
||||
int saveSlot = ConfMan.getInt("save_slot");
|
||||
if (saveSlot >= 0 && saveSlot <= g_nancy->getMetaEngine()->getMaximumSaveSlot()) {
|
||||
// Set to Scene but do not do the loading yet
|
||||
g_nancy->loadGameState(saveSlot);
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user