mirror of
https://github.com/holub/mame
synced 2025-05-19 03:59:35 +03:00
Fixed assert in z80 cpu core when using nsc800 (no whatsnew)
This commit is contained in:
parent
73a1e11178
commit
d198a773e6
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user