mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-28 22:23:43 +00:00
The psychic profile background is displayed correctly again
svn-id: r28380
This commit is contained in:
parent
4abcd58c76
commit
b58d259f7e
@ -364,8 +364,9 @@ int Events::handleOneShot(Event *event) {
|
||||
const PalEntry *palette = (const PalEntry *)_vm->getImagePal(resourceData, resourceDataLength);
|
||||
|
||||
Surface *bgSurface = _vm->_render->getBackGroundSurface();
|
||||
const Rect profileRect(width, height);
|
||||
|
||||
bgSurface->blit(rect, buf);
|
||||
bgSurface->blit(profileRect, buf);
|
||||
_vm->_frameCount++;
|
||||
|
||||
_vm->_gfx->setPalette(palette);
|
||||
|
@ -1418,7 +1418,6 @@ void Script::sfPlacardOff(SCRIPTFUNC_PARAMS) {
|
||||
|
||||
void Script::sfPsychicProfile(SCRIPTFUNC_PARAMS) {
|
||||
int stringId;
|
||||
//Surface *backBuffer = _vm->_gfx->getBackBuffer();
|
||||
static PalEntry cur_pal[PAL_ENTRIES];
|
||||
PalEntry *pal;
|
||||
Event event;
|
||||
|
Loading…
x
Reference in New Issue
Block a user