ALL: Sync with ScummVM - rev. ea3f8f2e33

This commit is contained in:
Bastien Bouclet 2019-06-29 19:08:44 +02:00
parent 308c018141
commit d474e3f94f
155 changed files with 11308 additions and 6208 deletions

View file

@ -35,6 +35,8 @@ struct TimerSlot {
uint32 nextFireTimeMicro; // microseconds part of nextFire
TimerSlot *next;
TimerSlot() : refCon(0), interval(0), nextFireTime(0), nextFireTimeMicro(0), next(0) {}
};
void insertPrioQueue(TimerSlot *head, TimerSlot *newSlot) {
@ -63,7 +65,6 @@ DefaultTimerManager::DefaultTimerManager() :
_head(0) {
_head = new TimerSlot();
memset(_head, 0, sizeof(TimerSlot));
}
DefaultTimerManager::~DefaultTimerManager() {