From 76f7ecbcac5ed793efa2fc250aba1b2e848b9b6b Mon Sep 17 00:00:00 2001 From: The Dax Date: Wed, 21 Aug 2013 10:08:49 -0400 Subject: [PATCH] Remove some code that was screwing with Win32's ability to find its own flash0/memstick folders. WTF was that stuff anyway? :\ --- Core/System.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Core/System.cpp b/Core/System.cpp index 34145f74e8..cf1eee88cd 100644 --- a/Core/System.cpp +++ b/Core/System.cpp @@ -328,11 +328,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