diff options
| author | 2009-11-19 19:31:04 +0000 | |
|---|---|---|
| committer | 2009-11-19 19:31:04 +0000 | |
| commit | d28c77d4fba6a92488bfa986084b4ffc23f0d1b6 (patch) | |
| tree | 5694d5e54b9d15d673f33c696d98e6cae962db1c /src | |
| parent | 752068a42c9c0e41c523d887f9a688503405de54 (diff) | |
Added missing sound type check.
Diffstat (limited to 'src')
| -rw-r--r-- | src/emu/sound/tms5220.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/sound/tms5220.c b/src/emu/sound/tms5220.c index e9206d5aeae..af6bae8f28b 100644 --- a/src/emu/sound/tms5220.c +++ b/src/emu/sound/tms5220.c @@ -293,6 +293,7 @@ INLINE tms5220_state *get_safe_token(const device_config *device) assert(device->token != NULL); assert(device->type == SOUND); assert(sound_get_type(device) == SOUND_TMS5220 || + sound_get_type(device) == SOUND_TMS5220C || sound_get_type(device) == SOUND_TMC0285 || sound_get_type(device) == SOUND_TMS5200); return (tms5220_state *)device->token; |
