diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2015-12-04 07:03:38 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2015-12-04 07:03:38 +0100 |
commit | 41681c1703244abe68cbcf3096ca259bd061cc08 (patch) | |
tree | 85d24789ff864e1b0f35fb87f0c58bad5925e27d /src/mame/machine/naomim1.cpp | |
parent | 0c56ac848dd0eba359500d444ecbb51f215ff5b9 (diff) |
clang-modernize part 4
Diffstat (limited to 'src/mame/machine/naomim1.cpp')
-rw-r--r-- | src/mame/machine/naomim1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/naomim1.cpp b/src/mame/machine/naomim1.cpp index 84d2db5ecef..5b16f278fb7 100644 --- a/src/mame/machine/naomim1.cpp +++ b/src/mame/machine/naomim1.cpp @@ -19,7 +19,7 @@ naomi_m1_board::naomi_m1_board(const machine_config &mconfig, const char *tag, d READ16_MEMBER(naomi_m1_board::actel_id_r) { - if (rombdid_tag && memregion(rombdid_tag) != NULL) + if (rombdid_tag && memregion(rombdid_tag) != nullptr) { const UINT8 *bdid = memregion(rombdid_tag)->base(); return bdid[0] | (bdid[1] << 8); @@ -34,7 +34,7 @@ void naomi_m1_board::device_start() std::string skey = parameter("key"); if(!skey.empty()) - key = strtoll(skey.c_str(), 0, 16); + key = strtoll(skey.c_str(), nullptr, 16); else { logerror("%s: Warning: key not provided\n", tag()); |