fix: Custom pattern include paths not working correctly

This commit is contained in:
WerWolv
2022-08-18 00:30:02 +02:00
parent a56a8c1d6c
commit 1ddd3ea2b9
3 changed files with 12 additions and 1 deletions

View File

@@ -250,7 +250,7 @@ namespace hex {
}, provider->getBaseAddress(), provider->getActualSize());
}
runtime->setIncludePaths(fs::getDefaultPaths(fs::ImHexPath::PatternsInclude));
runtime->setIncludePaths(fs::getDefaultPaths(fs::ImHexPath::PatternsInclude) | fs::getDefaultPaths(fs::ImHexPath::Patterns));
for (const auto &func : getFunctions()) {
if (func.dangerous)