diff options
author | 2015-12-04 07:02:45 +0100 | |
---|---|---|
committer | 2015-12-04 07:02:45 +0100 | |
commit | 0c56ac848dd0eba359500d444ecbb51f215ff5b9 (patch) | |
tree | ad3444449470cec94ccaffd174c5a4d1bc90d1e1 /src/devices/cpu/ie15/ie15.cpp | |
parent | 68f961927a156c47cb444c1f66258a89342d0205 (diff) |
clang-modernize part 3
Diffstat (limited to 'src/devices/cpu/ie15/ie15.cpp')
-rw-r--r-- | src/devices/cpu/ie15/ie15.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/ie15/ie15.cpp b/src/devices/cpu/ie15/ie15.cpp index 5cef25764a6..95851497236 100644 --- a/src/devices/cpu/ie15/ie15.cpp +++ b/src/devices/cpu/ie15/ie15.cpp @@ -32,8 +32,8 @@ ie15_device::ie15_device(const machine_config &mconfig, const char *tag, device_ : cpu_device(mconfig, IE15, "ie15", tag, owner, clock, "ie15_cpu", __FILE__), m_program_config("program", ENDIANNESS_LITTLE, 8, 14), m_io_config("io", ENDIANNESS_LITTLE, 8, 8), m_A(0), m_CF(0), m_ZF(0), m_RF(0), m_flags(0), - m_program(0), m_io(nullptr), - m_direct(0) + m_program(nullptr), m_io(nullptr), + m_direct(nullptr) { // set our instruction counter m_icountptr = &m_icount; @@ -91,7 +91,7 @@ const address_space_config *ie15_device::memory_space_config(address_spacenum sp { return (spacenum == AS_PROGRAM) ? &m_program_config : (spacenum == AS_IO) ? &m_io_config : - NULL; + nullptr; } //------------------------------------------------- @@ -174,7 +174,7 @@ UINT32 ie15_device::disasm_max_opcode_bytes() const offs_t ie15_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options) { extern CPU_DISASSEMBLE( ie15 ); - return CPU_DISASSEMBLE_NAME(ie15)(NULL, buffer, pc, oprom, opram, 0); + return CPU_DISASSEMBLE_NAME(ie15)(nullptr, buffer, pc, oprom, opram, 0); } //************************************************************************** |