From e9a86dd9c82447a346b0b90ab880194f13d74ecd Mon Sep 17 00:00:00 2001 From: Volker Ruppert Date: Wed, 2 Jan 2002 09:57:58 +0000 Subject: [PATCH] - bx_init_hardware(): don't update the log actions if control panel is enabled --- bochs/main.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bochs/main.cc b/bochs/main.cc index c27843754..c83c7548b 100644 --- a/bochs/main.cc +++ b/bochs/main.cc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: main.cc,v 1.83 2001-12-29 11:40:37 vruppert Exp $ +// $Id: main.cc,v 1.84 2002-01-02 09:57:58 vruppert Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. @@ -979,7 +979,6 @@ bx_read_configuration (char *rcfile) return -1; } // update log actions if control panel is enabled - fprintf(stderr,"updating actions: %d\n",SIM->get_enabled ()); if (SIM->get_enabled ()) { for (int level=0; levelget_enabled () && action == ACT_ASK) - action = ACT_FATAL; - io->set_log_action (level, action); + if (!SIM->get_enabled ()) { + for (int level=0; levelset_log_action (level, action); + } } bx_pc_system.init_ips(bx_options.Oips->get ());