diff options
author | 2010-05-25 06:57:29 +0000 | |
---|---|---|
committer | 2010-05-25 06:57:29 +0000 | |
commit | d198a773e69eaaedbc62b8be7c01d210c2767dc1 (patch) | |
tree | d61e4938ca6f8beb21f32c3bc3f4e168efe2fcbf /src/emu/cpu/z80 | |
parent | 73a1e1117876ab491a878cb7bc727747ca63b137 (diff) |
Fixed assert in z80 cpu core when using nsc800 (no whatsnew)
Diffstat (limited to 'src/emu/cpu/z80')
-rw-r--r-- | src/emu/cpu/z80/z80.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/z80/z80.c b/src/emu/cpu/z80/z80.c index b9b384d6ee2..f8a9cb2db6a 100644 --- a/src/emu/cpu/z80/z80.c +++ b/src/emu/cpu/z80/z80.c @@ -169,7 +169,7 @@ INLINE z80_state *get_safe_token(running_device *device) assert(device != NULL); assert(device->token != NULL); assert(device->type == CPU); - assert(cpu_get_type(device) == CPU_Z80); + assert(cpu_get_type(device) == CPU_Z80 || cpu_get_type(device) == CPU_NSC800); return (z80_state *)device->token; } |