mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 02:33:43 +01:00
Use USING_WIN_UI for desktop Windows console.
This commit is contained in:
1 parent
d165680ee7
commit
da78ec0b4d
7 files changed
+26
-26
No files matched your search
+2
-2
@@ -153,14 +153,14 @@ std::string Timer::GetTimeElapsedFormatted() const
|
||||
// Get current time
|
||||
void Timer::IncreaseResolution()
|
||||
{
|
||||
#if defined(_WIN32) && !defined(_XBOX)
|
||||
#if defined(USING_WIN_UI)
|
||||
timeBeginPeriod(1);
|
||||
#endif
|
||||
}
|
||||
|
||||
void Timer::RestoreResolution()
|
||||
{
|
||||
#if defined(_WIN32) && !defined(_XBOX)
|
||||
#if defined(USING_WIN_UI)
|
||||
timeEndPeriod(1);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user