diff options
author | Aaron Giles <aaron@aarongiles.com> | 2010-09-19 20:57:20 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2010-09-19 20:57:20 +0000 |
commit | 499a0d41619cdf46c37889c5b94c91df823290f9 (patch) | |
tree | 4a25c716e3ea07a9363c248adec5970791e4f871 /src/emu/timer.c | |
parent | 2dd1a7191fe3f785de1b56f2a07ed9ce5dd2d302 (diff) |
Move device definitions out of the bottom of the file. They can be
declared with other variables at the top.
Diffstat (limited to 'src/emu/timer.c')
-rw-r--r-- | src/emu/timer.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/emu/timer.c b/src/emu/timer.c index a44057e7e2c..3ebe0e614c7 100644 --- a/src/emu/timer.c +++ b/src/emu/timer.c @@ -36,6 +36,14 @@ /*************************************************************************** + DEVICE DEFINITIONS +***************************************************************************/ + +const device_type TIMER = timer_device_config::static_alloc_device_config; + + + +/*************************************************************************** TYPE DEFINITIONS ***************************************************************************/ @@ -1265,5 +1273,3 @@ void timer_device::scanline_timer_callback(int scanline) // adjust the timer timer_adjust_oneshot(m_timer, m_screen->time_until_pos(next_vpos), 0); } - -const device_type TIMER = timer_device_config::static_alloc_device_config; |