Merge pull request #3300 from thedax/fixWin32Folders

Win32: Fix flash0/memstick folder locations.
This commit is contained in:
Henrik Rydgård 2013-08-21 07:16:55 -07:00
commit a526b7ca7c

View file

@ -330,11 +330,6 @@ void GetSysDirectories(std::string &memstickpath, std::string &flash0path) {
GetModuleFileName(NULL,path_buffer,sizeof(path_buffer));
char *winpos = strstr(path_buffer, "Windows");
if (winpos)
*winpos = 0;
strcat(path_buffer, "dummy.txt");
_splitpath_s(path_buffer, drive, dir, file, ext );
// Mount a couple of filesystems