From: Toni Wilen Date: Thu, 2 Dec 2021 18:23:25 +0000 (+0200) Subject: Use correct character set conversion function. X-Git-Tag: 4900~5 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=fa4ed8c90b87a16cb4dd3b3fe5b5d080ce429bc5;p=francis%2Fwinuae.git Use correct character set conversion function. --- diff --git a/isofs.cpp b/isofs.cpp index ffab58e7..09177b70 100644 --- a/isofs.cpp +++ b/isofs.cpp @@ -2386,7 +2386,7 @@ static int do_isofs_readdir(struct inode *inode, struct file *filp, char *tmpnam else { char t = p[len]; p[len] = 0; - au_copy (outname, MAX_DPATH, p); + au_fs_copy (outname, MAX_DPATH, p); p[len] = t; } } else { @@ -2559,7 +2559,7 @@ bool isofs_exists(void *sbp, uae_u64 parent, const TCHAR *name, uae_u64 *uniq) if (!inode) return false; - ua_copy(tmp3, sizeof tmp3, name); + ua_fs_copy(tmp3, sizeof tmp3, name, '_'); inode = isofs_find_entry(inode, tmp1, tmp1x, (struct iso_directory_record*)tmp2, tmp3, name); if (inode) { *uniq = inode->i_ino;