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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/etc/template_cpu.h b/src/mame/etc/template_cpu.h
index 300d18b0464..72a0c78f89e 100644
--- a/src/mame/etc/template_cpu.h
+++ b/src/mame/etc/template_cpu.h
@@ -45,9 +45,8 @@ protected:
virtual void state_string_export(const device_state_entry &entry, std::string &str) const override;
// device_disasm_interface overrides
- virtual uint32_t disasm_min_opcode_bytes() const override { return 4; }
- virtual uint32_t disasm_max_opcode_bytes() const override { return 4; }
- virtual offs_t disasm_disassemble(char *buffer, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options) override;
+ virtual uint32_t opcode_alignment() const override { return 4; }
+ virtual offs_t disassemble(char *buffer, offs_t pc, const data_buffer &opcodes, const data_buffer &params, uint32_t options) override;
private:
address_space_config m_program_config;