diff options
Diffstat (limited to 'backends/platform/android/android.cpp')
-rw-r--r-- | backends/platform/android/android.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/platform/android/android.cpp b/backends/platform/android/android.cpp index 72810b6fb7..dc8dc9d9c0 100644 --- a/backends/platform/android/android.cpp +++ b/backends/platform/android/android.cpp @@ -534,6 +534,7 @@ bool OSystem_Android::pollEvent(Common::Event &event) { } break; } + default: break; } @@ -554,7 +555,7 @@ uint32 OSystem_Android::getMillis() { gettimeofday(&curTime, 0); - return (uint32)(((curTime.tv_sec - _startTime.tv_sec) * 1000) + \ + return (uint32)(((curTime.tv_sec - _startTime.tv_sec) * 1000) + ((curTime.tv_usec - _startTime.tv_usec) / 1000)); } |