Removed timerproc and soundproc.

svn-id: r24455
This commit is contained in:
Marcus Comstedt 2006-10-22 18:35:49 +00:00
parent fbb5a2d773
commit dde7244f2d
5 changed files with 15 additions and 96 deletions

View file

@ -191,10 +191,8 @@ bool OSystem_Dreamcast::pollEvent(Event &event)
{
unsigned int t = Timer();
if(_timer_active && ((int)(t-_timer_next_expiry))>=0) {
_timer_duration = _timer_callback(_timer_duration);
_timer_next_expiry = t+USEC_TO_TIMER(1000*_timer_duration);
}
if(_timer != NULL)
_timer->handler();
if(((int)(t-_devpoll))<0)
return false;