From 9cbd50818100df4b6dabeeb294206d8cb9ab3fc7 Mon Sep 17 00:00:00 2001 From: ayuanx Date: Thu, 7 Jan 2010 20:01:41 +0000 Subject: 1. This should fix Issue 1625 (Bizarre Auto Frame Limit) Now the frame limiter yields on CPU thread, not as before on GPU thread mistakenly 2. Fixed clear of VI interrupts I guess VI interrupts are not used at all, because they were never cleared before 3. Made GPU thread 0% processor usage when paused whatever your active config is. I tried the event approach but somehow the thread resume latency is excessively long (Who can tell me why?) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4790 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/Timer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/Common/Src/Timer.cpp') diff --git a/Source/Core/Common/Src/Timer.cpp b/Source/Core/Common/Src/Timer.cpp index 47eec6a755..3f851ce8cc 100644 --- a/Source/Core/Common/Src/Timer.cpp +++ b/Source/Core/Common/Src/Timer.cpp @@ -78,7 +78,7 @@ void Timer::Update() // ------------------------------------- // Get the number of milliseconds since the last Update() -s64 Timer::GetTimeDifference() +u64 Timer::GetTimeDifference() { return(timeGetTime() - m_LastTime); } -- cgit v1.2.3