diff options
author | Max Horn | 2007-03-18 21:55:57 +0000 |
---|---|---|
committer | Max Horn | 2007-03-18 21:55:57 +0000 |
commit | 995a4d7cff4338848142d43b48c218b75c4fdbcc (patch) | |
tree | 5c79939df631bd4426e2b79af68da3036979d78d /backends/platform/ds/arm9 | |
parent | 0bc056aee3a32de9df83d1e12417a2ae7d854651 (diff) | |
download | scummvm-rg350-995a4d7cff4338848142d43b48c218b75c4fdbcc.tar.gz scummvm-rg350-995a4d7cff4338848142d43b48c218b75c4fdbcc.tar.bz2 scummvm-rg350-995a4d7cff4338848142d43b48c218b75c4fdbcc.zip |
Some fixes to cope with the move of the event code from OSystem to Common
svn-id: r26233
Diffstat (limited to 'backends/platform/ds/arm9')
-rw-r--r-- | backends/platform/ds/arm9/source/dsmain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/ds/arm9/source/dsmain.cpp b/backends/platform/ds/arm9/source/dsmain.cpp index 24063d81ce..1a3d4f7142 100644 --- a/backends/platform/ds/arm9/source/dsmain.cpp +++ b/backends/platform/ds/arm9/source/dsmain.cpp @@ -1111,13 +1111,13 @@ void addEventsToQueue() { if (!keyboardEnable) { if ((mouseMode != MOUSE_HOVER) || (!displayModeIs8Bit)) { if (getPenDown() && (!(getKeysHeld() & KEY_L)) && (!(getKeysHeld() & KEY_R))) { - event.type = ((mouseMode == MOUSE_LEFT) || (!displayModeIs8Bit))? Common::EVENT_LBUTTONDOWN: OSystem::EVENT_RBUTTONDOWN; + event.type = ((mouseMode == MOUSE_LEFT) || (!displayModeIs8Bit))? Common::EVENT_LBUTTONDOWN: Common::EVENT_RBUTTONDOWN; event.mouse = Common::Point(getPenX(), getPenY()); system->addEvent(event); } if (getPenReleased()) { - event.type = mouseMode == MOUSE_LEFT? Common::EVENT_LBUTTONUP: OSystem::EVENT_RBUTTONUP; + event.type = mouseMode == MOUSE_LEFT? Common::EVENT_LBUTTONUP: Common::EVENT_RBUTTONUP; event.mouse = Common::Point(getPenX(), getPenY()); system->addEvent(event); } |