mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
SHERLOCK: Fix Rose Tattoo glitch when opening map
When the map was displayed, there would often be a noticeable glitch where the map jumped from the upper left corner to the saved position. This removes that initial map display and relies on scrolling to always move it to the correct position. This fixes #10850
This commit is contained in:
parent
f9c6dc2f90
commit
454779e30a
@ -117,10 +117,7 @@ int TattooMap::show() {
|
||||
screen._backBuffer2.create(SHERLOCK_SCREEN_WIDTH * 2, SHERLOCK_SCREEN_HEIGHT * 2);
|
||||
screen._backBuffer2.SHblitFrom(screen._backBuffer1);
|
||||
|
||||
// Display the built map to the screen
|
||||
screen.slamArea(0, 0, SHERLOCK_SCREEN_WIDTH, SHERLOCK_SCREEN_HEIGHT);
|
||||
|
||||
// Set initial scroll position
|
||||
// Set initial scroll position, forcing the map to be displayed
|
||||
_targetScroll = _bigPos;
|
||||
screen._currentScroll = Common::Point(-1, -1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user