+#ifdef EMU_M68K
+static int SekIntAckMS68k(int level)
+{
+#ifndef EMU_CORE_DEBUG
+ int level_new = new_irq_level(level);
+ dprintf("s68kACK %i -> %i", level, level_new);
+ CPU_INT_LEVEL = level_new << 8;
+#else
+ CPU_INT_LEVEL = 0;
+#endif
+ return M68K_INT_ACK_AUTOVECTOR;
+}
+#endif
+
+#ifdef EMU_F68K
+static void SekIntAckFS68k(unsigned level)
+{
+ int level_new = new_irq_level(level);
+ dprintf("s68kACK %i -> %i", level, level_new);
+#ifndef EMU_CORE_DEBUG
+ PicoCpuFS68k.interrupts[0] = level_new;
+#else
+ {
+ extern int dbg_irq_level_sub;
+ dbg_irq_level_sub = level_new;
+ PicoCpuFS68k.interrupts[0] = 0;
+ }
+#endif
+}
+#endif