summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-09-16 14:20:16 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-09-16 14:20:16 +0000
commit02ce39f34e9a0f539f221c38b8b1cef83af0a1bb (patch)
treebfa443ebe8bc86ce0771a913688c857638ff7984 /src
parent1dfbc23b421ba2032862d8d34cc4cecb9e199708 (diff)
fix assert for upd7759 (no whatsnew)
Diffstat (limited to 'src')
-rw-r--r--src/emu/sound/upd7759.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sound/upd7759.c b/src/emu/sound/upd7759.c
index c44e57f8a24..db6eea99d2b 100644
--- a/src/emu/sound/upd7759.c
+++ b/src/emu/sound/upd7759.c
@@ -250,7 +250,7 @@ static const int upd7759_state_table[16] = { -1, -1, 0, 0, 1, 2, 2, 3, -1, -1, 0
INLINE upd7759_state *get_safe_token(device_t *device)
{
assert(device != NULL);
- assert(device->type() == UPD7759);
+ assert(device->type() == UPD7759 || device->type() == UPD7756);
return (upd7759_state *)downcast<upd7759_device *>(device)->token();
}