summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/upd7725/dasm7725.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/upd7725/dasm7725.cpp')
-rw-r--r--src/devices/cpu/upd7725/dasm7725.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/devices/cpu/upd7725/dasm7725.cpp b/src/devices/cpu/upd7725/dasm7725.cpp
index 303a877e413..f2e644e0bec 100644
--- a/src/devices/cpu/upd7725/dasm7725.cpp
+++ b/src/devices/cpu/upd7725/dasm7725.cpp
@@ -12,7 +12,7 @@
#include "emu.h"
#include "upd7725.h"
-static offs_t internal_disasm_upd7725(cpu_device *device, std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, int options)
+CPU_DISASSEMBLE(upd7725)
{
uint32_t opcode = oprom[2] | (oprom[1] << 8) | (oprom[0] << 16);
uint32_t type = (opcode >> 22);
@@ -222,13 +222,3 @@ static offs_t internal_disasm_upd7725(cpu_device *device, std::ostream &stream,
return 1 | DASMFLAG_SUPPORTED;
}
-
-
-CPU_DISASSEMBLE(upd7725)
-{
- std::ostringstream stream;
- offs_t result = internal_disasm_upd7725(device, stream, pc, oprom, opram, options);
- std::string stream_str = stream.str();
- strcpy(buffer, stream_str.c_str());
- return result;
-}