diff options
| author | hrydgard <hrydgard@gmail.com> | 2010-01-21 21:27:52 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2010-01-21 21:27:52 +0000 |
| commit | a43428253b48b724231767f7356e9e1b1fea854d (patch) | |
| tree | c2aa3ab3548494cf717e4e2caa0b9516fd71d6ce /Source/Core/VideoCommon/Src/OnScreenDisplay.cpp | |
| parent | a08bfc134469c5919ec3d448201b9ba130b8b6bd (diff) | |
Kill the last timeGetTime calls.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4921 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/OnScreenDisplay.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/OnScreenDisplay.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Src/OnScreenDisplay.cpp b/Source/Core/VideoCommon/Src/OnScreenDisplay.cpp index 3ea94958f9..b172e7390c 100644 --- a/Source/Core/VideoCommon/Src/OnScreenDisplay.cpp +++ b/Source/Core/VideoCommon/Src/OnScreenDisplay.cpp @@ -42,7 +42,7 @@ static std::list<MESSAGE> s_listMsgs; void AddMessage(const char* pstr, u32 ms) { - s_listMsgs.push_back(MESSAGE(pstr, timeGetTime() + ms)); + s_listMsgs.push_back(MESSAGE(pstr, Common::Timer::GetTimeMs() + ms)); } void DrawMessages() @@ -53,7 +53,7 @@ void DrawMessages() std::list<MESSAGE>::iterator it = s_listMsgs.begin(); while (it != s_listMsgs.end()) { - int time_left = (int)(it->dwTimeStamp - timeGetTime()); + int time_left = (int)(it->dwTimeStamp - Common::Timer::GetTimeMs()); int alpha = 255; if (time_left < 1024) |
