diff options
author | Michaël Banaan Ananas <happppp@users.noreply.github.com> | 2011-03-21 09:04:54 +0000 |
---|---|---|
committer | Michaël Banaan Ananas <happppp@users.noreply.github.com> | 2011-03-21 09:04:54 +0000 |
commit | 9ab6b4763e59234a2bad3b4b2129053e6a9b78da (patch) | |
tree | 447bfb5fd6fa1696617e5f69aaae28176ca1d899 | |
parent | f5dceea8a688512c66972a600fe1d4ac7aebe8a2 (diff) |
don't assert on valid i8080a
-rw-r--r-- | src/emu/cpu/i8085/i8085.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/cpu/i8085/i8085.c b/src/emu/cpu/i8085/i8085.c index 6848c2118ba..fa043adf71d 100644 --- a/src/emu/cpu/i8085/i8085.c +++ b/src/emu/cpu/i8085/i8085.c @@ -277,6 +277,7 @@ INLINE i8085_state *get_safe_token(device_t *device) { assert(device != NULL); assert(device->type() == I8080 || + device->type() == I8080A|| device->type() == I8085A); return (i8085_state *)downcast<legacy_cpu_device *>(device)->token(); } |