diff --git a/src/plugins/gta3/std.asi/ModuleInfo.cpp b/src/plugins/gta3/std.asi/ModuleInfo.cpp index 0a84edf4..c0b4f16a 100644 --- a/src/plugins/gta3/std.asi/ModuleInfo.cpp +++ b/src/plugins/gta3/std.asi/ModuleInfo.cpp @@ -499,6 +499,7 @@ static bool ModulesWalk(uint32_t pid, F functor) * http://msdn.microsoft.com/en-us/library/windows/desktop/aa363950(v=vs.85).aspx */ extern const char aKernel32[] = "kernel32.dll"; +extern const char aCreateDirectoryA[] = "CreateDirectoryA"; extern const char aCreateFileA[] = "CreateFileA"; extern const char aLoadLibraryA[] = "LoadLibraryA"; extern const char aLoadLibraryExA[] = "LoadLibraryExA"; @@ -518,6 +519,7 @@ extern const char aWritePrivateProfileStructA[] = "WritePrivateProfileStructA"; extern const char aGetFileAttributesA[] = "GetFileAttributesA"; extern const char aGetFileAttributesExA[] = "GetFileAttributesExA"; +extern const char aCreateDirectoryW[] = "CreateDirectoryW"; extern const char aCreateFileW[] = "CreateFileW"; extern const char aLoadLibraryW[] = "LoadLibraryW"; extern const char aLoadLibraryExW[] = "LoadLibraryExW"; @@ -538,10 +540,14 @@ extern const char aGetFileAttributesExW[] = "GetFileAttributesExW"; // Operations +static path_translator_stdcall + psCreateDirectoryA(0, AR_PATH_INE, 0); static path_translator_stdcall psCreateFileA(0, AR_PATH_INE, 0, 0, 0, 0, 0, 0); static path_translator_stdcall psSetCurrentDirectoryA(0, AR_PATH_INE); // Do not work properly!! Don't use!!! +static path_translator_stdcall + psCreateDirectoryW(0, AR_PATH_INE, 0); static path_translator_stdcall psCreateFileW(0, AR_PATH_INE, 0, 0, 0, 0, 0, 0); static path_translator_stdcall @@ -754,4 +760,4 @@ static path_translator_stdcall psBASS_SampleLoad(0, 0, AR_PATH_INE, 0, 0, 0, 0); static path_translator_stdcall - psBASS_StreamCreateFile(0, 0, AR_PATH_INE, 0, 0, 0); \ No newline at end of file + psBASS_StreamCreateFile(0, 0, AR_PATH_INE, 0, 0, 0);