summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/tms9900/tms9900.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/tms9900/tms9900.c')
-rw-r--r--src/emu/cpu/tms9900/tms9900.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/tms9900/tms9900.c b/src/emu/cpu/tms9900/tms9900.c
index ec5bbf797fc..0029d9cf392 100644
--- a/src/emu/cpu/tms9900/tms9900.c
+++ b/src/emu/cpu/tms9900/tms9900.c
@@ -349,7 +349,7 @@ void tms99xx_device::state_export(const device_state_entry &entry)
/*
state_string_export - export state as a string for the debugger
*/
-void tms99xx_device::state_string_export(const device_state_entry &entry, astring &str)
+void tms99xx_device::state_string_export(const device_state_entry &entry, std::string &str)
{
static const char *statestr = "LAECOPX-----IIII";
char flags[17];
@@ -363,7 +363,7 @@ void tms99xx_device::state_string_export(const device_state_entry &entry, astrin
val = (val >> 1) & 0x7fff;
}
}
- str.cpy(flags);
+ str.assign(flags);
}
/**************************************************************************/