--- BasiliskII/src/powerrom_cpu/powerrom_cpu.cpp 2001/02/10 19:58:46 1.5 +++ BasiliskII/src/powerrom_cpu/powerrom_cpu.cpp 2008/01/01 09:40:35 1.11 @@ -1,7 +1,7 @@ /* * powerrom_cpu.cpp - Using the 680x0 emulator in PowerMac ROMs for Basilisk II * - * Basilisk II (C) 1997-2001 Christian Bauer + * Basilisk II (C) 1997-2008 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,6 +31,7 @@ #include "main.h" #include "emul_op.h" #include "prefs.h" +#include "timer.h" #include "user_strings.h" #include "sheep_driver.h" @@ -808,13 +809,13 @@ bool Init680x0(void) try { load_rom(); } catch (file_open_error) { - ErrorAlert(GetString(STR_NO_ROM_FILE_ERR)); + ErrorAlert(STR_NO_ROM_FILE_ERR); return false; } catch (file_read_error) { - ErrorAlert(GetString(STR_ROM_FILE_READ_ERR)); + ErrorAlert(STR_ROM_FILE_READ_ERR); return false; } catch (rom_size_error) { - ErrorAlert(GetString(STR_ROM_SIZE_ERR)); + ErrorAlert(STR_ROM_SIZE_ERR); return false; } @@ -1238,6 +1239,7 @@ void Start680x0(void) void TriggerInterrupt(void) { + idle_resume(); if (emul_thread > 0 && ReadyForSignals) send_signal(emul_thread, SIGUSR1); }