diff options
Diffstat (limited to 'backends/platform/ps2/systemps2.cpp')
-rw-r--r-- | backends/platform/ps2/systemps2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/ps2/systemps2.cpp b/backends/platform/ps2/systemps2.cpp index 6c479f30d7..4ba426590c 100644 --- a/backends/platform/ps2/systemps2.cpp +++ b/backends/platform/ps2/systemps2.cpp @@ -649,9 +649,9 @@ int OSystem_PS2::getDefaultGraphicsMode(void) const { return 0; } -bool OSystem_PS2::pollEvent(Event &event) { +bool OSystem_PS2::pollEvent(Common::Event &event) { bool res = _input->pollEvent(&event); - if (res && (event.type == EVENT_MOUSEMOVE)) + if (res && (event.type == Common::EVENT_MOUSEMOVE)) _screen->setMouseXy(event.mouse.x, event.mouse.y); return res; } |