Skip to content

Commit 869a216

Browse files
also retain raw_bits ptr
1 parent f863818 commit 869a216

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/module_loader.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,7 @@ bool load_module(const char* name) {
612612
return false;
613613
}
614614
m.name = saved_name;
615+
m.raw_bits = module_content;
615616
hashmap_set(modules, &m);
616617
module* stored = hashmap_get(modules, &(module){ .name = name });
617618
modreg_register(stored);

0 commit comments

Comments
 (0)