diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-05-19 21:21:30 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-05-19 21:21:30 (GMT) |
commit | f828d126a74facac145531822c6ea9c8259b50e0 (patch) | |
tree | 521bfa44de551f30934ee321339a7a87d12a3243 /src/core/formats.c | |
parent | e92c777c91612c8508d263645480c6c3889b679d (diff) |
Loaded the ELF internal symbols using all the available CPUs.
Diffstat (limited to 'src/core/formats.c')
-rw-r--r-- | src/core/formats.c | 8 |
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); |