summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/nec/v25.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/nec/v25.cpp')
-rw-r--r--src/devices/cpu/nec/v25.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/nec/v25.cpp b/src/devices/cpu/nec/v25.cpp
index f846c1541e4..617a3af9366 100644
--- a/src/devices/cpu/nec/v25.cpp
+++ b/src/devices/cpu/nec/v25.cpp
@@ -419,9 +419,9 @@ void v25_common_device::execute_set_input(int irqline, int state)
}
}
-util::disasm_interface *v25_common_device::create_disassembler()
+std::unique_ptr<util::disasm_interface> v25_common_device::create_disassembler()
{
- return new nec_disassembler(m_v25v35_decryptiontable);
+ return std::make_unique<nec_disassembler>(m_v25v35_decryptiontable);
}
void v25_common_device::device_start()