comparison VideoPlayer.cpp @ 731:de482c901171

Moved unused CPU detection stuff to a separate file.
author Nomad
date Fri, 22 Mar 2013 11:18:51 +0200
parents 59713bb36033
children cf2fbac6edc9
comparison
equal deleted inserted replaced
730:79ad0526166c 731:de482c901171
1061 SmackToBuffer(pVideoPlayer->pSmackerMovie, 0, 0, pVideoPlayer->pSmackerMovie->Width, pVideoPlayer->pSmackerMovie->Height, v9, 0); 1061 SmackToBuffer(pVideoPlayer->pSmackerMovie, 0, 0, pVideoPlayer->pSmackerMovie->Width, pVideoPlayer->pSmackerMovie->Height, v9, 0);
1062 if ( a4 ) 1062 if ( a4 )
1063 { 1063 {
1064 if ( (unsigned int)uCPUSpeed < 165 ) 1064 if ( (unsigned int)uCPUSpeed < 165 )
1065 { 1065 {
1066 Log::Warning(L"Smacker seems to use lower resolution because it thinks CPU is slow");
1066 v10 = SmackCheckSurfaceFromat() | 2; 1067 v10 = SmackCheckSurfaceFromat() | 2;
1067 } 1068 }
1068 else 1069 else
1069 { 1070 {
1070 v10 = SmackCheckSurfaceFromat(); 1071 v10 = SmackCheckSurfaceFromat();