Support more mwcc versions

This commit is contained in:
Simon Lindholm
2022-06-29 15:24:58 +02:00
parent 121bfb3939
commit 6281fa2da7
2 changed files with 30 additions and 1 deletions

View File

@@ -85,7 +85,7 @@ void *wibo::resolveStubByName(const char *dllName, const char *funcName) {
}
void *wibo::resolveStubByOrdinal(const char *dllName, uint16_t ordinal) {
if (strcmp(dllName, "LMGR11.dll") == 0) {
if (strcmp(dllName, "LMGR11.dll") == 0 || strcmp(dllName, "LMGR326B.dll") == 0) {
void* func = wibo::resolveLmgr11(ordinal);
if (func)
return func;