summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/timer.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-12-28 09:04:00 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-12-28 09:04:00 +0000
commitbd24fb23c10ca9fbf63e2191dc8e58a87b83b325 (patch)
tree5ba5c3cffeb38fb8f492e030130268c4bcbafb4d /src/emu/timer.c
parent6763b10bf005f0bcd1ba23e440d652b31dcac447 (diff)
Results of running the latest srcclean.
Diffstat (limited to 'src/emu/timer.c')
-rw-r--r--src/emu/timer.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/emu/timer.c b/src/emu/timer.c
index fde65e262c6..35ceb66c65f 100644
--- a/src/emu/timer.c
+++ b/src/emu/timer.c
@@ -46,16 +46,16 @@ struct _emu_timer
emu_timer * next; /* next timer in order in the list */
emu_timer * prev; /* previous timer in order in the list */
timer_fired_func callback; /* callback function */
- INT32 param; /* integer parameter */
+ INT32 param; /* integer parameter */
void * ptr; /* pointer parameter */
const char * file; /* file that created the timer */
int line; /* line number that created the timer */
const char * func; /* string name of the callback function */
- UINT8 enabled; /* is the timer enabled? */
- UINT8 temporary; /* is the timer temporary? */
- attotime period; /* the repeat frequency of the timer */
- attotime start; /* time when the timer was started */
- attotime expire; /* time when the timer will expire */
+ UINT8 enabled; /* is the timer enabled? */
+ UINT8 temporary; /* is the timer temporary? */
+ attotime period; /* the repeat frequency of the timer */
+ attotime start; /* time when the timer was started */
+ attotime expire; /* time when the timer will expire */
};
@@ -64,7 +64,7 @@ typedef struct _timer_state timer_state;
struct _timer_state
{
emu_timer *timer; /* the backing timer */
- void *ptr; /* the pointer parameter passed to the timer callback */
+ void *ptr; /* the pointer parameter passed to the timer callback */
/* periodic timers only */
attotime start_delay; /* delay before the timer fires for the first time */
@@ -72,7 +72,7 @@ struct _timer_state
INT32 param; /* the integer parameter passed to the timer callback */
/* scanline timers only */
- UINT32 first_time; /* indicates that the system is starting */
+ UINT32 first_time; /* indicates that the system is starting */
};
@@ -91,9 +91,9 @@ struct _quantum_slot
struct _timer_private
{
/* list of active timers */
- emu_timer timers[MAX_TIMERS]; /* actual timers */
+ emu_timer timers[MAX_TIMERS]; /* actual timers */
emu_timer * activelist; /* head of the active list */
- emu_timer * freelist; /* head of the free list */
+ emu_timer * freelist; /* head of the free list */
emu_timer * freelist_tail; /* tail of the free list */
/* execution state */
@@ -105,9 +105,9 @@ struct _timer_private
attotime callback_timer_expire_time; /* the original expiration time */
/* scheduling quanta */
- quantum_slot quantum_list[MAX_QUANTA]; /* list of scheduling quanta */
+ quantum_slot quantum_list[MAX_QUANTA]; /* list of scheduling quanta */
quantum_slot * quantum_current; /* current minimum quantum */
- attoseconds_t quantum_minimum; /* duration of minimum quantum */
+ attoseconds_t quantum_minimum; /* duration of minimum quantum */
};