summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/lh5801
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/lh5801')
-rw-r--r--src/devices/cpu/lh5801/5801dasm.cpp4
-rw-r--r--src/devices/cpu/lh5801/lh5801.h2
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);