VOYEUR: Minor palette load bugfixes. First screen is now partly showing
This commit is contained in:
parent
6bce04959b
commit
f5ed290025
2 changed files with 5 additions and 4 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue