summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/pdp1/pdp1dasm.cpp
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2016-11-20 08:49:30 -0500
committer Nathan Woods <npwoods@mess.org>2016-11-20 08:49:30 -0500
commita29891d2e5b750e47a1237929c42fc2afdd8f094 (patch)
treea601af0a86b6076311a7af4494a7b66bb8d24667 /src/devices/cpu/pdp1/pdp1dasm.cpp
parent5eefcfdb684b94cbe41d41a7dcfd8b712bf86c6a (diff)
Changed disassembler infrastructure to not use char buffers internally
Diffstat (limited to 'src/devices/cpu/pdp1/pdp1dasm.cpp')
-rw-r--r--src/devices/cpu/pdp1/pdp1dasm.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/devices/cpu/pdp1/pdp1dasm.cpp b/src/devices/cpu/pdp1/pdp1dasm.cpp
index 21424dc91da..3313aa83f37 100644
--- a/src/devices/cpu/pdp1/pdp1dasm.cpp
+++ b/src/devices/cpu/pdp1/pdp1dasm.cpp
@@ -20,7 +20,7 @@ static inline void ea (void)
#define IN if (ib) util::stream_format(stream, " i")
-static offs_t internal_disasm_pdp1(cpu_device *device, std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, int options)
+CPU_DISASSEMBLE(pdp1)
{
int md;
//int etime = 0;
@@ -290,13 +290,3 @@ static offs_t internal_disasm_pdp1(cpu_device *device, std::ostream &stream, off
}
return 4;
}
-
-
-CPU_DISASSEMBLE(pdp1)
-{
- std::ostringstream stream;
- offs_t result = internal_disasm_pdp1(device, stream, pc, oprom, opram, options);
- std::string stream_str = stream.str();
- strcpy(buffer, stream_str.c_str());
- return result;
-}