- even if panic is nonfatal, the exit button should still make it quit!

This commit is contained in:
Bryce Denney 2001-06-08 03:07:51 +00:00
parent 5b0481dd25
commit b26e2fb362

View File

@ -168,6 +168,8 @@ bx_gui_c::reset_handler(void)
bx_gui_c::power_handler(void)
{
BX_PANIC(("POWER button turned off."));
// exit the simulator even if panic did not actually quit.
::exit (1);
}
void