mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-01 15:55:45 +00:00
Fix display and input in dimp
svn-id: r24068
This commit is contained in:
parent
62df08578b
commit
6201707122
@ -272,7 +272,7 @@ static const byte _mouseOffs[29 * 32] = {
|
||||
void AGOSEngine::handleMouseMoved() {
|
||||
uint x;
|
||||
|
||||
if (_mouseHideCount) {
|
||||
if (getGameId() != GID_DIMP && _mouseHideCount) {
|
||||
CursorMan.showMouse(false);
|
||||
return;
|
||||
}
|
||||
@ -414,7 +414,7 @@ void AGOSEngine::loadMouseImage() {
|
||||
}
|
||||
|
||||
void AGOSEngine::drawMousePointer() {
|
||||
if (getGameType() == GType_PP) {
|
||||
if (getGameType() == GType_PP && getGameId() != GID_DIMP) {
|
||||
CursorMan.replaceCursor(_mouseData, _maxCursorWidth, _maxCursorHeight, 37, 48, 0);
|
||||
} else if (getGameType() == GType_SIMON2) {
|
||||
CursorMan.replaceCursor(_simon2_cursors[_mouseCursor], 16, 16, 7, 7);
|
||||
|
@ -452,7 +452,8 @@ void AGOSEngine::dx_update_screen_and_palette() {
|
||||
_system->copyRectToScreen(_backBuf, _screenWidth, 0, 0, _screenWidth, _screenHeight);
|
||||
_system->updateScreen();
|
||||
|
||||
memcpy(_backBuf, _frontBuf, _screenWidth * _screenHeight);
|
||||
if (getGameId() != GID_DIMP)
|
||||
memcpy(_backBuf, _frontBuf, _screenWidth * _screenHeight);
|
||||
|
||||
if (getGameType() == GType_FF && _scrollFlag) {
|
||||
scrollScreen();
|
||||
|
Loading…
x
Reference in New Issue
Block a user