mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 23:31:57 +00:00
TIMER: Cleanup
This commit is contained in:
parent
bb12acfa0f
commit
18d9654ca2
@ -34,7 +34,7 @@ struct TimerSlot {
|
|||||||
uint32 interval; // in microseconds
|
uint32 interval; // in microseconds
|
||||||
|
|
||||||
uint32 nextFireTime; // in milliseconds
|
uint32 nextFireTime; // in milliseconds
|
||||||
uint32 nextFireTimeMicro; // mircoseconds part of nextFire
|
uint32 nextFireTimeMicro; // microseconds part of nextFire
|
||||||
|
|
||||||
TimerSlot *next;
|
TimerSlot *next;
|
||||||
};
|
};
|
||||||
|
@ -40,9 +40,9 @@ private:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
DefaultTimerManager();
|
DefaultTimerManager();
|
||||||
~DefaultTimerManager();
|
virtual ~DefaultTimerManager();
|
||||||
bool installTimerProc(TimerProc proc, int32 interval, void *refCon);
|
virtual bool installTimerProc(TimerProc proc, int32 interval, void *refCon);
|
||||||
void removeTimerProc(TimerProc proc);
|
virtual void removeTimerProc(TimerProc proc);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Timer callback, to be invoked at regular time intervals by the backend.
|
* Timer callback, to be invoked at regular time intervals by the backend.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user