mirror of
https://github.com/holub/mame
synced 2025-07-05 09:57:47 +03:00
Remove unhelpful assert (nw)
This commit is contained in:
parent
c9f0cef555
commit
895a27005d
@ -235,7 +235,6 @@ device_t *machine_config::device_find(device_t *owner, const char *tag)
|
||||
// find the original device by relative tag (must exist)
|
||||
assert(owner != nullptr);
|
||||
device_t *device = owner->subdevice(tag);
|
||||
assert(device != nullptr);
|
||||
if (device == nullptr)
|
||||
throw emu_fatalerror("Unable to find device '%s'\n", tag);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user