You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The xinput DLL's folder should be included for ini search. This is very important for plugins (for example, Unreal plugins) where DLL path is not same as exe path and DLL is loaded dynamically. In these cases, plugins have no knowledge or control over exe path and its not desirable to modify its folder anyway.
I've this change done but looks like instructions to build and test are outdated or non-existent so I'm unable to test below change. Hopefully, the change is trivial to add, however.
Proposed change in x360ce\x360ce\dllmain.cpp
VOID InitInstance(HMODULE hModule)
{
IniFile ini;
std::string inipath("x360ce.ini");
if (!ini.Load(inipath)) //<--------- look for ini module's directory
ModuleDirectory(&inipath, hModule);
if (!ini.Load(inipath))
CheckCommonDirectory(&inipath, "x360ce");
if (!ini.Load(inipath)) return;
The text was updated successfully, but these errors were encountered:
The xinput DLL's folder should be included for ini search. This is very important for plugins (for example, Unreal plugins) where DLL path is not same as exe path and DLL is loaded dynamically. In these cases, plugins have no knowledge or control over exe path and its not desirable to modify its folder anyway.
I've this change done but looks like instructions to build and test are outdated or non-existent so I'm unable to test below change. Hopefully, the change is trivial to add, however.
Proposed change in
x360ce\x360ce\dllmain.cpp
The text was updated successfully, but these errors were encountered: