mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-07 10:21:31 +00:00
ULTIMA8: Fade-from-black when starting from save
To match behavior of original game.
This commit is contained in:
parent
f531eba971
commit
869e581429
@ -35,6 +35,7 @@
|
|||||||
#include "ultima/ultima8/gumps/menu_gump.h"
|
#include "ultima/ultima8/gumps/menu_gump.h"
|
||||||
#include "ultima/ultima8/conf/setting_manager.h"
|
#include "ultima/ultima8/conf/setting_manager.h"
|
||||||
#include "ultima/ultima8/world/get_object.h"
|
#include "ultima/ultima8/world/get_object.h"
|
||||||
|
#include "ultima/ultima8/graphics/palette_fader_process.h"
|
||||||
|
|
||||||
namespace Ultima {
|
namespace Ultima {
|
||||||
namespace Ultima8 {
|
namespace Ultima8 {
|
||||||
@ -60,6 +61,7 @@ void StartU8Process::run() {
|
|||||||
|
|
||||||
// Try to load the save game, if succeeded this pointer will no longer be valid
|
// Try to load the save game, if succeeded this pointer will no longer be valid
|
||||||
if (_saveSlot >= 0 &&Ultima8Engine::get_instance()->loadGameState(_saveSlot).getCode() == Common::kNoError) {
|
if (_saveSlot >= 0 &&Ultima8Engine::get_instance()->loadGameState(_saveSlot).getCode() == Common::kNoError) {
|
||||||
|
PaletteFaderProcess::I_fadeFromBlack(0, 0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user