We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2bbfc9 commit 8e20fbdCopy full SHA for 8e20fbd
2 files changed
library/Hooks.cpp
@@ -25,7 +25,7 @@ DFhackCExport void dfhooks_init() {
25
}
26
27
// we need to init DF globals before we can check the commandline
28
- if (!DFHack::Core::getInstance().InitMainThread(basepath) || !df::global::game) {
+ if (!DFHack::Core::getInstance().InitMainThread(std::filesystem::canonical(basepath)) || !df::global::game) {
29
// we don't set disabled to true here so symbol generation can work
30
return;
31
library/include/Hooks.h
@@ -26,6 +26,7 @@ distribution.
union SDL_Event;
+DFhackCExport void dfhooks_preinit(std::filesystem::path dllpath);
DFhackCExport void dfhooks_init();
DFhackCExport void dfhooks_shutdown();
32
DFhackCExport void dfhooks_update();
0 commit comments