Skip to content

Commit fdd03be

Browse files
committed
Fix PluginLoader
1 parent e50d79b commit fdd03be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mods/PluginLoader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ REFrameworkSDKFunctions g_sdk_functions {
187187
ignore_jmp);
188188
},
189189
[](REFrameworkMethodHandle fn, unsigned int id) { g_hookman.remove((sdk::REMethodDefinition*)fn, (HookManager::HookId)id); },
190-
&sdk::memory::allocate,
190+
[](unsigned long long size) { return sdk::memory::allocate(size); },
191191
&sdk::memory::deallocate,
192192
[](REFrameworkTypeDefinitionHandle tdef, unsigned int size) -> REFrameworkManagedObjectHandle {
193193
if (tdef == nullptr) {

0 commit comments

Comments
 (0)