aboutsummaryrefslogtreecommitdiff
path: root/sword1/control.cpp
diff options
context:
space:
mode:
authorChris Apers2005-11-05 19:26:26 +0000
committerChris Apers2005-11-05 19:26:26 +0000
commit57698a16abf87761d5fecbeaee6714b3587ec64e (patch)
treea717b38b3b4e3dcc23cb361406f56fc3fadaa63e /sword1/control.cpp
parentcb12c0c1da39b8be9054e3debb5108846a354bae (diff)
downloadscummvm-rg350-57698a16abf87761d5fecbeaee6714b3587ec64e.tar.gz
scummvm-rg350-57698a16abf87761d5fecbeaee6714b3587ec64e.tar.bz2
scummvm-rg350-57698a16abf87761d5fecbeaee6714b3587ec64e.zip
PalmOS ifdef
svn-id: r19475
Diffstat (limited to 'sword1/control.cpp')
-rw-r--r--sword1/control.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/sword1/control.cpp b/sword1/control.cpp
index a05a46f34d..c19b98843b 100644
--- a/sword1/control.cpp
+++ b/sword1/control.cpp
@@ -1066,7 +1066,7 @@ void Control::delay(uint32 msecs) {
case OSystem::EVENT_LBUTTONDOWN:
_mouseDown = true;
_mouseState |= BS1L_BUTTON_DOWN;
-#if defined(_WIN32_WCE) || defined(__PALM_OS__)
+#if defined(_WIN32_WCE) || defined(PALMOS_MODE)
_mouseX = event.mouse.x;
_mouseY = event.mouse.y;
#endif
@@ -1094,9 +1094,8 @@ void Control::delay(uint32 msecs) {
_keyRepeatTime += kKeyRepeatSustainDelay;
_keyPressed = _keyRepeat;
}
-#ifndef __PALM_OS__
+
_system->delayMillis(10);
-#endif
} while (_system->getMillis() < endTime);
}
@@ -1293,4 +1292,3 @@ const uint8 Control::_languageStrings[8 * 20][43] = {
};
} // End of namespace Sword1
-