X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FVideoPort.c;h=ffbda060cc604639add8029f147898f0a51f9c4b;hb=80db44425aa5b46185fb9a64520f4b6f5d494ba5;hp=6f41dfaa855f0f6c7498dd29ffa3b020333b7c25;hpb=1dceadaee482ad3ca6f5ccbef57ea93893f45e82;p=picodrive.git diff --git a/Pico/VideoPort.c b/Pico/VideoPort.c index 6f41dfa..ffbda06 100644 --- a/Pico/VideoPort.c +++ b/Pico/VideoPort.c @@ -382,7 +382,7 @@ PICO_INTERNAL_ASM void PicoVideoWrite(unsigned int a,unsigned short d) if(num < 2) { #ifdef EMU_C68K // hack: make sure we do not touch the irq line if Cyclone is just about to take the IRQ - if (PicoCpu.irq <= (PicoCpu.srh&7)) { + if (PicoCpuCM68k.irq <= (PicoCpuCM68k.srh&7)) { #endif int lines, pints; lines = (pvid->reg[1] & 0x20) | (pvid->reg[0] & 0x10); @@ -392,7 +392,7 @@ PICO_INTERNAL_ASM void PicoVideoWrite(unsigned int a,unsigned short d) else SekInterrupt(0); #ifdef EMU_C68K // adjust cycles for Cyclone so it would take the int "in time" - if(PicoCpu.irq) { + if(PicoCpuCM68k.irq) { SekEndRun(24); } }