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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/x86log.c b/src/emu/cpu/x86log.c
index 07527d35c32..95013f1d579 100644
--- a/src/emu/cpu/x86log.c
+++ b/src/emu/cpu/x86log.c
@@ -269,7 +269,7 @@ void x86log_printf(x86log_context *log, const char *format, ...)
/* open the file, creating it if necessary */
if (log->file == NULL)
- log->file = fopen(log->filename, "w");
+ log->file = fopen(log->filename.c_str(), "w");
if (log->file == NULL)
return;