summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/g65816/g65816.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/g65816/g65816.cpp')
-rw-r--r--src/devices/cpu/g65816/g65816.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/g65816/g65816.cpp b/src/devices/cpu/g65816/g65816.cpp
index ab376590ef6..e6f2b5329a1 100644
--- a/src/devices/cpu/g65816/g65816.cpp
+++ b/src/devices/cpu/g65816/g65816.cpp
@@ -788,9 +788,9 @@ void g65816_device::execute_set_input(int line, int state)
(this->*FTABLE_SET_LINE)(line, state);
}
-util::disasm_interface *g65816_device::create_disassembler()
+std::unique_ptr<util::disasm_interface> g65816_device::create_disassembler()
{
- return new g65816_disassembler(this);
+ return std::make_unique<g65816_disassembler>(this);
}
bool g65816_device::get_m_flag() const