mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-12-22 15:29:58 +00:00
timermanager: Make immediate timer more immediate.
This commit is contained in:
parent
703662cb5b
commit
266d45e13a
@ -54,7 +54,7 @@ uint32_t TimerManager::add_immediate_timer(timer_cb cb) {
|
||||
TimerInfo* ti = new TimerInfo;
|
||||
|
||||
ti->id = ++this->id;
|
||||
ti->timeout_ns = this->get_time_now() + 10;
|
||||
ti->timeout_ns = this->get_time_now();
|
||||
ti->interval_ns = 0;
|
||||
ti->cb = cb;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user