X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fcd%2FSek.c;h=3788fcb614e4a22bc5e120b7c04615a78c57c107;hb=0af33fe0ef24a3e3b65217ad0d7aa2db03d16fc1;hp=f28b1423e5d75fe76dcb3565f197ca6286865e0a;hpb=2d0b15bb2c532cacdbc8fcecb915177b1bd5f2af;p=picodrive.git diff --git a/Pico/cd/Sek.c b/Pico/cd/Sek.c index f28b142..3788fcb 100644 --- a/Pico/cd/Sek.c +++ b/Pico/cd/Sek.c @@ -39,13 +39,14 @@ static int SekIntAckS68kM(int level) #endif #ifdef EMU_C68K -// interrupt acknowledgment -static void SekIntAckS68k(int level) +// interrupt acknowledgement +static int SekIntAckS68k(int level) { int level_new = new_irq_level(level); dprintf("s68kACK %i -> %i", level, level_new); PicoCpuS68k.irq = level_new; + return CYCLONE_INT_ACK_AUTOVECTOR; } static void SekResetAck() @@ -97,7 +98,7 @@ int SekResetS68k() if (Pico.rom==NULL) return 1; #ifdef EMU_C68K - PicoCpuS68k.stopped=0; + PicoCpuS68k.state_flags=0; PicoCpuS68k.osp=0; PicoCpuS68k.srh =0x27; // Supervisor mode PicoCpuS68k.flags=4; // Z set