diff options
author | amet <amet.nospam@gmail.com> | 2011-03-15 12:49:58 +0400 |
---|---|---|
committer | amet <amet.nospam@gmail.com> | 2011-03-15 12:49:58 +0400 |
commit | 5dd7ae1b91c2fe9a29dd1ed4e2948827b42f1751 (patch) | |
tree | f893ce8d668bc18b7d4c6e5987b0b758af03590a /lib/UnrarXLib/system.cpp | |
parent | 0897223461edd0badb6c454f4b5af39eac523eab (diff) |
cleanup of #ifdef _XBOX
Diffstat (limited to 'lib/UnrarXLib/system.cpp')
-rw-r--r-- | lib/UnrarXLib/system.cpp | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/lib/UnrarXLib/system.cpp b/lib/UnrarXLib/system.cpp index e53199b51e..ab2eb73a48 100644 --- a/lib/UnrarXLib/system.cpp +++ b/lib/UnrarXLib/system.cpp @@ -19,32 +19,7 @@ void InitSystemOptions(int SleepTime) void SetPriority(int Priority) { -#ifdef _XBOX - int PriorityLevel; - if (Priority<1 || Priority>15) - return; - if (Priority==1) - { - PriorityLevel=THREAD_PRIORITY_IDLE; - } - else - if (Priority<7) - { - PriorityLevel=Priority-4; - } - else - if (Priority<11) - { - PriorityLevel=Priority-9; - } - else - { - PriorityLevel=Priority-13; - } - SetThreadPriority(GetCurrentThread(),PriorityLevel); - -//#ifdef _WIN_32 -#elif defined(_WIN_32) +#if defined(_WIN_32) uint PriorityClass; int PriorityLevel; if (Priority<1 || Priority>15) |