Fixed memory range overlap
This commit is contained in:
parent
885b15a71f
commit
fa6af2fb73
1 changed files with 2 additions and 1 deletions
|
@ -1091,7 +1091,8 @@ static void cfgfile_resolve_path_out_all(const TCHAR *path, TCHAR *out, int size
|
|||
s = cfgfile_subst_path_load(UNEXPANDED, &p->path_rom, path, false);
|
||||
break;
|
||||
case PATH_FLOPPY:
|
||||
_tcscpy(out, path);
|
||||
if (_tcscmp(out, path) != 0)
|
||||
_tcscpy(out, path);
|
||||
cfgfile_adjust_path(out, MAX_DPATH, &p->path_floppy);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue