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/lh5801 | |
parent | 68f961927a156c47cb444c1f66258a89342d0205 (diff) |
clang-modernize part 3
Diffstat (limited to 'src/devices/cpu/lh5801')
-rw-r--r-- | src/devices/cpu/lh5801/5801dasm.cpp | 4 | ||||
-rw-r--r-- | src/devices/cpu/lh5801/lh5801.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/cpu/lh5801/5801dasm.cpp b/src/devices/cpu/lh5801/5801dasm.cpp index b622bda9de6..bef5fb4df4b 100644 --- a/src/devices/cpu/lh5801/5801dasm.cpp +++ b/src/devices/cpu/lh5801/5801dasm.cpp @@ -46,7 +46,7 @@ enum Regs }; static const char *const RegNames[]= { - 0, "A", "XL", "XH", "X", "YL", "YH", "Y", "UL", "UH", "U", "P", "S" + nullptr, "A", "XL", "XH", "X", "YL", "YH", "Y", "UL", "UH", "U", "P", "S" }; #if defined(SEC) @@ -89,7 +89,7 @@ enum Ins }; static const char *const InsNames[]={ - "ILL", "ILL", 0, "NOP", + "ILL", "ILL", nullptr, "NOP", "LDA", "STA", "LDI", "LDX", "STX", "LDE", "SDE", "LIN", "SIN", "TIN", diff --git a/src/devices/cpu/lh5801/lh5801.h b/src/devices/cpu/lh5801/lh5801.h index e5c6aa74690..6147f334ba4 100644 --- a/src/devices/cpu/lh5801/lh5801.h +++ b/src/devices/cpu/lh5801/lh5801.h @@ -87,7 +87,7 @@ protected: virtual void execute_set_input(int inputnum, int state); // device_memory_interface overrides - virtual const address_space_config *memory_space_config(address_spacenum spacenum = AS_0) const { return (spacenum == AS_PROGRAM) ? &m_program_config : ( (spacenum == AS_IO) ? &m_io_config : NULL ); } + virtual const address_space_config *memory_space_config(address_spacenum spacenum = AS_0) const { return (spacenum == AS_PROGRAM) ? &m_program_config : ( (spacenum == AS_IO) ? &m_io_config : nullptr ); } // device_state_interface overrides void state_string_export(const device_state_entry &entry, std::string &str); |