diff options
author | Couriersud <couriersud@users.noreply.github.com> | 2007-12-30 21:48:42 +0000 |
---|---|---|
committer | Couriersud <couriersud@users.noreply.github.com> | 2007-12-30 21:48:42 +0000 |
commit | 3228b1b341ba28ec9be0e2148a481bd4b8e1c2f0 (patch) | |
tree | c76104ea282e24a37f8147c1de35aa86db425d15 /src/emu | |
parent | c9a8e71f6807048dd26f88adedf756bafca62ae2 (diff) |
- Updated headers following LN's mail on revisions
- renamed table to _5110a to avoid confusion
Diffstat (limited to 'src/emu')
-rw-r--r-- | src/emu/sound/tms5110.c | 4 | ||||
-rw-r--r-- | src/emu/sound/tms5110.h | 7 | ||||
-rw-r--r-- | src/emu/sound/tms5110r.c | 2 | ||||
-rw-r--r-- | src/emu/sound/tms5220.h | 6 |
4 files changed, 13 insertions, 6 deletions
diff --git a/src/emu/sound/tms5110.c b/src/emu/sound/tms5110.c index 7e882d7753c..8d012cc09a8 100644 --- a/src/emu/sound/tms5110.c +++ b/src/emu/sound/tms5110.c @@ -160,12 +160,12 @@ void *tms5110_create(int index, int variant) switch (variant) { case TMS5110_IS_5110A: - tms->coeff = &tms5110_coeff; + tms->coeff = &tms5110a_coeff; break; case TMS5110_IS_5100: tms->coeff = &pat4209836_coeff; break; - case TMS5110_IS_M58817: + case TMS5110_IS_5110: tms->coeff = &pat4403965_coeff; break; default: diff --git a/src/emu/sound/tms5110.h b/src/emu/sound/tms5110.h index 63ec60dca47..be1f073fd4d 100644 --- a/src/emu/sound/tms5110.h +++ b/src/emu/sound/tms5110.h @@ -17,8 +17,13 @@ #define TMS5110_IS_5110A (1) #define TMS5110_IS_5100 (2) -#define TMS5110_IS_M58817 (3) +#define TMS5110_IS_5110 (3) +#define TMS5110_IS_CD2801 TMS5110_IS_5100 +#define TMS5110_IS_TMC0281 TMS5110_IS_5100 + +#define TMS5110_IS_CD2802 TMS5110_IS_5110 +#define TMS5110_IS_M58817 TMS5110_IS_5110 void *tms5110_create(int index, int variant); void tms5110_destroy(void *chip); diff --git a/src/emu/sound/tms5110r.c b/src/emu/sound/tms5110r.c index 76d2d3ebcca..58f8bace789 100644 --- a/src/emu/sound/tms5110r.c +++ b/src/emu/sound/tms5110r.c @@ -170,7 +170,7 @@ static const struct tms5100_coeffs pat4403965_coeff = */ -static const struct tms5100_coeffs tms5110_coeff = +static const struct tms5100_coeffs tms5110a_coeff = { /* subtype */ SUBTYPE_TMS5110, diff --git a/src/emu/sound/tms5220.h b/src/emu/sound/tms5220.h index 29e8609e567..6122d05502d 100644 --- a/src/emu/sound/tms5220.h +++ b/src/emu/sound/tms5220.h @@ -20,10 +20,12 @@ void tms5220_set_read(void *chip, int (*func)(int)); void tms5220_set_load_address(void *chip, void (*func)(int)); void tms5220_set_read_and_branch(void *chip, void (*func)(void)); + + typedef enum { - variant_tms5220, - variant_tms0285 + variant_tms5220, /* TMS5220_IS_TMS5220, TMS5220_IS_TMS5220C, TMS5220_IS_TSP5220C */ + variant_tms0285 /* TMS5220_IS_TMS5200, TMS5220_IS_CD2501 */ } tms5220_variant; void tms5220_set_variant(void *chip, tms5220_variant new_variant); |