summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2011-07-10 18:41:43 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2011-07-10 18:41:43 +0000
commitd1227c9617dc98cb4941d9034f4b6705aeb534d6 (patch)
tree455ce0935c2d3a83da95d1b20bd9acf547f21d04 /src
parent5f9c7aae1dd1fa659f6680257894abc7a5a79105 (diff)
Fix assert when using M68HC05EG (no whatsnew)
Diffstat (limited to 'src')
-rw-r--r--src/emu/cpu/m6805/m6805.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/cpu/m6805/m6805.c b/src/emu/cpu/m6805/m6805.c
index 9840b049dc4..9bff53a1850 100644
--- a/src/emu/cpu/m6805/m6805.c
+++ b/src/emu/cpu/m6805/m6805.c
@@ -74,7 +74,8 @@ INLINE m6805_Regs *get_safe_token(device_t *device)
assert(device != NULL);
assert(device->type() == M6805 ||
device->type() == M68705 ||
- device->type() == HD63705);
+ device->type() == HD63705 ||
+ device->type() == M68HC05EG);
return (m6805_Regs *)downcast<legacy_cpu_device *>(device)->token();
}