summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/lr35902/lr35902.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/lr35902/lr35902.c')
-rw-r--r--src/emu/cpu/lr35902/lr35902.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/cpu/lr35902/lr35902.c b/src/emu/cpu/lr35902/lr35902.c
index d78a59a7344..4b34883c4b5 100644
--- a/src/emu/cpu/lr35902/lr35902.c
+++ b/src/emu/cpu/lr35902/lr35902.c
@@ -178,16 +178,16 @@ void lr35902_cpu_device::device_start()
}
-void lr35902_cpu_device::state_string_export(const device_state_entry &entry, astring &str)
+void lr35902_cpu_device::state_string_export(const device_state_entry &entry, std::string &str)
{
switch (entry.index())
{
case LR35902_SPEED:
- str.printf("%02X", 0x7E | ((m_gb_speed - 1) << 7) | m_gb_speed_change_pending);
+ strprintf(str, "%02X", 0x7E | ((m_gb_speed - 1) << 7) | m_gb_speed_change_pending);
break;
case STATE_GENFLAGS:
- str.printf("%c%c%c%c",
+ strprintf(str, "%c%c%c%c",
m_F & FLAG_Z ? 'Z' : '.',
m_F & FLAG_N ? 'N' : '.',
m_F & FLAG_H ? 'H' : '.',