mirror of
https://github.com/libretro/RetroArch
synced 2025-04-15 23:42:30 +00:00
Merge pull request #11749 from libretro/revert-11747-runahead-instance-windows-fix
Revert "Runahead instance windows fix"
This commit is contained in:
commit
9489a1d507
@ -18460,13 +18460,6 @@ static char *get_temp_directory_alloc(const char *override_dir)
|
|||||||
path = utf16_to_utf8_string_alloc(wide_str);
|
path = utf16_to_utf8_string_alloc(wide_str);
|
||||||
free(wide_str);
|
free(wide_str);
|
||||||
#endif
|
#endif
|
||||||
/*
|
|
||||||
Windows seems to be adding (back)slash at the end of the path...
|
|
||||||
This can cause issues when concatenating path separators and some I/O apis, so we get rid of it
|
|
||||||
*/
|
|
||||||
path_length = strlen(path);
|
|
||||||
if (path[path_length - 1] == '\\')
|
|
||||||
path[path_length - 1] = 0;
|
|
||||||
#else
|
#else
|
||||||
#if defined ANDROID
|
#if defined ANDROID
|
||||||
src = override_dir;
|
src = override_dir;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user