This commit is contained in:
Nguyen Anh Quynh
2016-01-10 23:10:00 +08:00
parent 036763d6ae
commit 580bc7b56a
4 changed files with 8 additions and 25 deletions

View File

@@ -107,8 +107,7 @@ int machine_initialize(struct uc_struct *uc)
module_call_init(uc, MODULE_INIT_MACHINE);
// this will auto initialize all register objects above.
machine_class = find_default_machine(uc, uc->arch);
if(!uc->machine_state)
{
if (!uc->machine_state) {
if (machine_class == NULL) {
//fprintf(stderr, "No machine specified, and there is no default.\n"
// "Use -machine help to list supported machines!\n");