mirror of
https://github.com/holub/mame
synced 2025-07-03 09:06:08 +03:00
Eliminate remaining this == NULL entry
This commit is contained in:
parent
cccc998b20
commit
b74eab06c5
@ -108,10 +108,6 @@ memory_share *device_t::memshare(const char *_tag) const
|
|||||||
|
|
||||||
memory_bank *device_t::membank(const char *_tag) const
|
memory_bank *device_t::membank(const char *_tag) const
|
||||||
{
|
{
|
||||||
// safety first
|
|
||||||
if (this == nullptr)
|
|
||||||
return nullptr;
|
|
||||||
|
|
||||||
// build a fully-qualified name and look it up
|
// build a fully-qualified name and look it up
|
||||||
return machine().memory().bank(subtag(_tag).c_str());
|
return machine().memory().bank(subtag(_tag).c_str());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user