diff options
author | Aaron Giles <aaron@aarongiles.com> | 2012-09-15 22:30:30 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2012-09-15 22:30:30 +0000 |
commit | cff1004165c7026532c4809099d4ebca31643cd5 (patch) | |
tree | 745dd217242b32aa6421431ed8bc6271a699f756 /src/mame/drivers/viper.c | |
parent | 000f9d27eddb3edde72bc289d9d0a9ed678f6fbb (diff) |
Pass 2 of struct modernization.
Diffstat (limited to 'src/mame/drivers/viper.c')
-rw-r--r-- | src/mame/drivers/viper.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/viper.c b/src/mame/drivers/viper.c index 596c630c146..6bc41e85839 100644 --- a/src/mame/drivers/viper.c +++ b/src/mame/drivers/viper.c @@ -447,7 +447,7 @@ static void mpc8240_interrupt(running_machine &machine, int irq); #define I2C_STATE_DATA_TRANSFER 2 -typedef struct +struct MPC8240_IRQ { UINT32 vector; int priority; @@ -455,18 +455,18 @@ typedef struct int active; int pending; int mask; -} MPC8240_IRQ; +}; -typedef struct +struct MPC8240_GLOBAL_TIMER { UINT32 base_count; int enable; emu_timer *timer; -} MPC8240_GLOBAL_TIMER; +}; -typedef struct +struct MPC8240_EPIC { UINT32 iack; UINT32 eicr; @@ -484,7 +484,7 @@ typedef struct MPC8240_GLOBAL_TIMER global_timer[4]; -} MPC8240_EPIC; +}; // TODO: move to viper_state static MPC8240_EPIC epic; |