Removed timerproc and soundproc.
svn-id: r24455
This commit is contained in:
parent
fbb5a2d773
commit
dde7244f2d
5 changed files with 15 additions and 96 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue