cleaned up support for multiple game modes

This commit is contained in:
Chris Danford
2001-11-20 11:49:10 +00:00
parent fdb590eb82
commit 1a76cba498
8 changed files with 212 additions and 156 deletions
+3 -1
View File
@@ -249,8 +249,10 @@ LPDIRECT3DTEXTURE8 RageMovieTexture::GetD3DTexture()
// the video fell behind and is trying to copy several frames in a row
// to catch up. So, if the TextureRenderer is busy, give it a 1ms slice of
// time for it to catch up and copy all the frames it fell behind on.
while( m_pCTR->IsLocked() )
while( m_pCTR->IsLocked() ) {
::Sleep(1);
RageLog( "Sleeping waiting for unlock..." );
}
// restart the movie if we reach the end
CheckMovieStatus();