summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/dspvd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/dspvd.cpp')
-rw-r--r--src/devices/sound/dspvd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/sound/dspvd.cpp b/src/devices/sound/dspvd.cpp
index 3a2fd254cf6..2865958113a 100644
--- a/src/devices/sound/dspvd.cpp
+++ b/src/devices/sound/dspvd.cpp
@@ -21,9 +21,9 @@ u32 dspv_disassembler::opcode_alignment() const
offs_t dspv_disassembler::disassemble(std::ostream &stream, offs_t pc, const data_buffer &opcodes, const data_buffer &params)
{
- u16 opc = opcodes.r16(pc);
-
- util::stream_format(stream, "dc.w %04x", opc);
+ u64 opc = opcodes.r64(pc);
+ u64 mode = (params.r64(pc) >> 32) & 7;
+ util::stream_format(stream, "%x%016x", mode, opc);
return 1 | SUPPORTED;
}