summaryrefslogtreecommitdiff
path: root/src/core/formats.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-05-19 21:21:30 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-05-19 21:21:30 (GMT)
commitf828d126a74facac145531822c6ea9c8259b50e0 (patch)
tree521bfa44de551f30934ee321339a7a87d12a3243 /src/core/formats.c
parente92c777c91612c8508d263645480c6c3889b679d (diff)
Loaded the ELF internal symbols using all the available CPUs.
Diffstat (limited to 'src/core/formats.c')
-rw-r--r--src/core/formats.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/formats.c b/src/core/formats.c
index 5543331..c6b664c 100644
--- a/src/core/formats.c
+++ b/src/core/formats.c
@@ -368,6 +368,7 @@ FormatMatchStatus find_matching_format(GBinContent *content, GExeFormat *parent,
* *
* Paramètres : key = nom technique du processeur recherché. *
* content = contenu binaire pré-chargé à traiter. *
+* parent = contenu binaire principal éventuel déjà chargé. *
* *
* Description : Charge le format binaire correspondant à un type. *
* *
@@ -389,7 +390,12 @@ GBinFormat *load_new_named_format(const char *key, GBinContent *content, GExeFor
if (def == NULL)
result = NULL;
else
- result = def->func(content, parent);
+ {
+ extern GtkStatusStack *get_global_status(void);
+
+ result = def->func(content, parent, get_global_status());
+
+ }
g_rw_lock_reader_unlock(&_formats_lock);