summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/etc/template_cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/etc/template_cpu.h')
-rw-r--r--src/mame/etc/template_cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/etc/template_cpu.h b/src/mame/etc/template_cpu.h
index 97467026087..300d18b0464 100644
--- a/src/mame/etc/template_cpu.h
+++ b/src/mame/etc/template_cpu.h
@@ -39,7 +39,7 @@ protected:
virtual void execute_set_input(int inputnum, int state) override;
// device_memory_interface overrides
- virtual const address_space_config *memory_space_config(address_spacenum spacenum) const override { return (spacenum == AS_PROGRAM) ? &m_program_config : (spacenum == AS_DATA) ? &m_data_config : nullptr; }
+ virtual const address_space_config *memory_space_config(int spacenum) const override { return (spacenum == AS_PROGRAM) ? &m_program_config : (spacenum == AS_DATA) ? &m_data_config : nullptr; }
// device_state_interface overrides
virtual void state_string_export(const device_state_entry &entry, std::string &str) const override;