diff options
Diffstat (limited to '')
-rw-r--r-- | mld/obj.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -276,7 +276,7 @@ static int map_file(struct object *obj, char *path) return M_SUCCESS; } -int object_load(struct object *object, char *path) +int object_load(struct object *object, char *path, uint32_t index) { current_file = path; @@ -286,6 +286,7 @@ int object_load(struct object *object, char *path) object->strtabs = NULL; object->mapped = NULL; object->name = path; + object->index = index; /** load the file */ if (map_file(object, path)) |