VOYEUR: Minor palette load bugfixes. First screen is now partly showing

This commit is contained in:
Paul Gilbert 2013-06-05 22:10:13 -04:00
parent 6bce04959b
commit f5ed290025
2 changed files with 5 additions and 4 deletions

View file

@ -770,7 +770,8 @@ FontResource::FontResource(BoltFilesState &state, const byte *src) {
/*------------------------------------------------------------------------*/
CMapResource::CMapResource(BoltFilesState &state, const byte *src): _vm(state._vm) {
_steps = READ_LE_UINT16(src);
_steps = src[0];
_fadeStatus = src[1];
_start = READ_LE_UINT16(src + 2);
_end = READ_LE_UINT16(src + 4);

View file

@ -152,10 +152,10 @@ void VoyeurEngine::doHeadTitle() {
_graphicsManager.flipPage();
_eventsManager.sWaitFlip();
// Fade in the screen
CMapResource *cMap = _bVoy->getCMapResource(0x5010000);
// Immediate fade in to show the initial screen
CMapResource *cMap = _bVoy->getCMapResource(0x5030000);
assert(cMap);
cMap->_steps = 60;
cMap->_steps = 0;
cMap->startFade();
_eventsManager.delay(150);