summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/lr35902/lr35902d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/lr35902/lr35902d.cpp')
-rw-r--r--src/devices/cpu/lr35902/lr35902d.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/devices/cpu/lr35902/lr35902d.cpp b/src/devices/cpu/lr35902/lr35902d.cpp
index 735befe10a4..a723cac408d 100644
--- a/src/devices/cpu/lr35902/lr35902d.cpp
+++ b/src/devices/cpu/lr35902/lr35902d.cpp
@@ -190,7 +190,7 @@ static const lr35902dasm mnemonic_main[256]= {
* Disassemble opcode at PC and return number of bytes it takes
****************************************************************************/
-static offs_t internal_disasm_lr35902(cpu_device *device, std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, int options)
+CPU_DISASSEMBLE(lr35902)
{
const lr35902dasm *d;
const char /* *symbol,*/ *src;
@@ -273,13 +273,3 @@ static offs_t internal_disasm_lr35902(cpu_device *device, std::ostream &stream,
return pos | s_flags[d->mnemonic] | DASMFLAG_SUPPORTED;
}
-
-
-CPU_DISASSEMBLE(lr35902)
-{
- std::ostringstream stream;
- offs_t result = internal_disasm_lr35902(device, stream, pc, oprom, opram, options);
- std::string stream_str = stream.str();
- strcpy(buffer, stream_str.c_str());
- return result;
-}