summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/x86log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/x86log.c')
-rw-r--r--src/emu/cpu/x86log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/x86log.c b/src/emu/cpu/x86log.c
index 95013f1d579..4c311310d96 100644
--- a/src/emu/cpu/x86log.c
+++ b/src/emu/cpu/x86log.c
@@ -48,7 +48,7 @@ struct data_range_t
/* the code logging context */
struct x86log_context
{
- astring filename; /* name of the file */
+ std::string filename; /* name of the file */
FILE * file; /* file we are logging to */
data_range_t data_range[MAX_DATA_RANGES]; /* list of data ranges */
@@ -88,7 +88,7 @@ x86log_context *x86log_create_context(const char *filename)
log = global_alloc_clear(x86log_context);
/* allocate the filename */
- log->filename.cpy(filename);
+ log->filename.assign(filename);
/* reset things */
reset_log(log);