From cff1004165c7026532c4809099d4ebca31643cd5 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Sat, 15 Sep 2012 22:30:30 +0000 Subject: Pass 2 of struct modernization. --- src/mess/audio/vboy.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/mess/audio/vboy.h') diff --git a/src/mess/audio/vboy.h b/src/mess/audio/vboy.h index 33de66466c7..fc2c38565f2 100644 --- a/src/mess/audio/vboy.h +++ b/src/mess/audio/vboy.h @@ -31,7 +31,7 @@ // TYPE DEFINITIONS //************************************************************************** -typedef struct { +struct s_snd_channel { INT8 playing; // the sound is playing // state when sound was enabled @@ -48,9 +48,9 @@ typedef struct { int time; // the duration that this sample is to be played UINT8 envelope; // Current envelope level (604) int env_time; // The duration between envelope decay/grow (608) -} s_snd_channel; +}; -typedef struct { +struct s_regchan { INT32 sINT; INT32 sLRV; INT32 sFQL; @@ -58,12 +58,12 @@ typedef struct { INT32 sEV0; INT32 sEV1; INT32 sRAM; -} s_regchan; +}; -typedef struct { +struct s_sreg { // Sound registers structure s_regchan c[4]; -} s_sreg; +}; // ======================> vboysnd_device -- cgit v1.2.3-70-g09d2