summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/drcbex64.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/drcbex64.c')
-rw-r--r--src/emu/cpu/drcbex64.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/cpu/drcbex64.c b/src/emu/cpu/drcbex64.c
index eb51d667b5e..64f2dd89bf0 100644
--- a/src/emu/cpu/drcbex64.c
+++ b/src/emu/cpu/drcbex64.c
@@ -654,7 +654,7 @@ drcbe_x64::drcbe_x64(drcuml_state &drcuml, device_t &device, drc_cache &cache, U
// create the log
if (device.machine().options().drc_log_native())
{
- astring filename = astring("drcbex64_").cat(device.shortname()).cat(".asm");
+ std::string filename = std::string("drcbex64_").append(device.shortname()).append(".asm");
m_log = x86log_create_context(filename.c_str());
}
}
@@ -787,7 +787,7 @@ void drcbe_x64::generate(drcuml_block &block, const instruction *instlist, UINT3
x86code *dst = base;
// generate code
- astring tempstring;
+ std::string tempstring;
const char *blockname = NULL;
for (int inum = 0; inum < numinst; inum++)
{
@@ -797,7 +797,7 @@ void drcbe_x64::generate(drcuml_block &block, const instruction *instlist, UINT3
// add a comment
if (m_log != NULL)
{
- astring dasm;
+ std::string dasm;
inst.disasm(dasm, &m_drcuml);
x86log_add_comment(m_log, dst, "%s", dasm.c_str());
}
@@ -808,7 +808,7 @@ void drcbe_x64::generate(drcuml_block &block, const instruction *instlist, UINT3
if (inst.opcode() == OP_HANDLE)
blockname = inst.param(0).handle().string();
else if (inst.opcode() == OP_HASH)
- blockname = tempstring.format("Code: mode=%d PC=%08X", (UINT32)inst.param(0).immediate(), (offs_t)inst.param(1).immediate()).c_str();
+ blockname = strformat(tempstring, "Code: mode=%d PC=%08X", (UINT32)inst.param(0).immediate(), (offs_t)inst.param(1).immediate()).c_str();
}
// generate code