SDL port is now way more CPU usage friendly, no longer uses 100% all the time

This commit is contained in:
pagefault
2004-10-18 20:50:06 +00:00
parent 71f089e279
commit 5754932715
2 changed files with 91 additions and 11 deletions

View File

@@ -119,6 +119,7 @@ EXTSYM WinErrorA2,WinErrorB2,WinErrorC2
EXTSYM GetLocalTime
EXTSYM V8Mode,GrayscaleMode
EXTSYM PrevWinMode,PrevFSMode
EXTSYM sem_sleep
NEWSYM WinIntRFAsmStart
@@ -1232,6 +1233,7 @@ NEWSYM Check60hz
; Call the timer update function here
pushad
call CheckTimers
call sem_sleep
popad
ret