From 486d5e77e3015e44c0df9334ca3b60b281ac7f25 Mon Sep 17 00:00:00 2001 From: Alcaro Date: Mon, 4 Dec 2017 16:48:17 +0100 Subject: [PATCH] Update verbosity.c --- verbosity.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/verbosity.c b/verbosity.c index 734dcaba39..a260f79949 100644 --- a/verbosity.c +++ b/verbosity.c @@ -35,6 +35,7 @@ #include #include +#include #ifdef HAVE_CONFIG_H #include "config.h" @@ -96,7 +97,7 @@ void retro_main_log_file_init(const char *path) if (path == NULL) return; - log_file_fp = fopen(path, "wb"); + log_file_fp = fopen_utf8(path, "wb"); log_file_initialized = true; /* TODO: this is only useful for a few platforms, find which and add ifdef */