diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-02-01 18:12:31 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-02-01 18:12:31 (GMT) |
commit | 113f37b954e395beb2a335e5e364746c70af625d (patch) | |
tree | d58b2839f1dd95096f72221c07c4b2a508eca6e9 /src/main.c | |
parent | 9d4a0ba0e5a217bf4ac63c21e14d5f44580b6138 (diff) |
Inserted an option to render disassembly even in batch mode.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -345,7 +345,7 @@ int main(int argc, char **argv) if (ret == 0) { - project = g_study_project_open(prj_filename); + project = g_study_project_open(prj_filename, !batch_mode); if (project == NULL) goto bad_project; } @@ -440,7 +440,7 @@ static gboolean load_last_project(GGenConfig *cfg) filename = NULL; if (filename == NULL) project = g_study_project_new(); - else project = g_study_project_open(filename); + else project = g_study_project_open(filename, !is_batch_mode()); set_current_project(project); @@ -479,7 +479,7 @@ static int open_binaries(char **files, int count) if (content != NULL) { - g_study_project_discover_binary_content(project, content, NULL, NULL); + g_study_project_discover_binary_content(project, content, !is_batch_mode(), NULL, NULL); g_object_unref(G_OBJECT(content)); } |