mirror of
https://github.com/holub/mame
synced 2025-05-29 00:53:09 +03:00
Fixing assert in drivers using ARM9 CPU (e.g. 39in1)
This commit is contained in:
parent
0fdce58484
commit
ced50d3810
@ -69,7 +69,7 @@ INLINE arm_state *get_safe_token(const device_config *device)
|
||||
assert(device != NULL);
|
||||
assert(device->token != NULL);
|
||||
assert(device->type == CPU);
|
||||
assert(cpu_get_type(device) == CPU_ARM7);
|
||||
assert(cpu_get_type(device) == CPU_ARM7 || cpu_get_type(device) == CPU_ARM9);
|
||||
return (arm_state *)device->token;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user