summaryrefslogtreecommitdiff
path: root/src/analysis/roptions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/roptions.c')
-rw-r--r--src/analysis/roptions.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/analysis/roptions.c b/src/analysis/roptions.c
index 6aa4262..be7e1e9 100644
--- a/src/analysis/roptions.c
+++ b/src/analysis/roptions.c
@@ -97,7 +97,6 @@ static void g_rendering_options_init(GRenderingOptions *options)
/******************************************************************************
* *
* Paramètres : format = format du contenu binaire. *
-* proc = architecture utilisée par le binaire. *
* *
* Description : Crée un un groupe d'options pour le rendu des lignes. *
* *
@@ -107,14 +106,14 @@ static void g_rendering_options_init(GRenderingOptions *options)
* *
******************************************************************************/
-GRenderingOptions *g_rendering_options_new(GExeFormat *format, GArchProcessor *proc)
+GRenderingOptions *g_rendering_options_new(GExeFormat *format)
{
GRenderingOptions *result; /* Structure à retourner */
result = g_object_new(G_TYPE_RENDERING_OPTIONS, NULL);
result->format = format;
- result->proc = proc;
+ result->proc = get_arch_processor_from_format(format);
return result;