| Previous | 199869 Revisions | Next |
| r44360 Saturday 23rd January, 2016 at 16:30:14 UTC by Scott Stone |
|---|
| Eliminate remaining this == NULL entry |
| [src/emu] | device.cpp |
| r252871 | r252872 | |
|---|---|---|
| 108 | 108 | |
| 109 | 109 | memory_bank *device_t::membank(const char *_tag) const |
| 110 | 110 | { |
| 111 | // safety first | |
| 112 | if (this == nullptr) | |
| 113 | return nullptr; | |
| 114 | ||
| 115 | 111 | // build a fully-qualified name and look it up |
| 116 | 112 | return machine().memory().bank(subtag(_tag).c_str()); |
| 117 | 113 | } |
| https://github.com/mamedev/mame/commit/b74eab06c50e51c5b5862db33cbfde4e76d1caf6 |
| Previous | 199869 Revisions | Next |