notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
various bugfixes
[picodrive.git]
/
Pico
/
VideoPort.c
diff --git
a/Pico/VideoPort.c
b/Pico/VideoPort.c
index
6f41dfa
..
ffbda06
100644
(file)
--- 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) {
\r
#ifdef EMU_C68K
\r
// hack: make sure we do not touch the irq line if Cyclone is just about to take the IRQ
\r
if(num < 2) {
\r
#ifdef EMU_C68K
\r
// hack: make sure we do not touch the irq line if Cyclone is just about to take the IRQ
\r
- if (PicoCpu
.irq <= (PicoCpu
.srh&7)) {
\r
+ if (PicoCpu
CM68k.irq <= (PicoCpuCM68k
.srh&7)) {
\r
#endif
\r
int lines, pints;
\r
lines = (pvid->reg[1] & 0x20) | (pvid->reg[0] & 0x10);
\r
#endif
\r
int lines, pints;
\r
lines = (pvid->reg[1] & 0x20) | (pvid->reg[0] & 0x10);
\r
@@
-392,7
+392,7
@@
PICO_INTERNAL_ASM void PicoVideoWrite(unsigned int a,unsigned short d)
else SekInterrupt(0);
\r
#ifdef EMU_C68K
\r
// adjust cycles for Cyclone so it would take the int "in time"
\r
else SekInterrupt(0);
\r
#ifdef EMU_C68K
\r
// adjust cycles for Cyclone so it would take the int "in time"
\r
- if(PicoCpu.irq) {
\r
+ if(PicoCpu
CM68k
.irq) {
\r
SekEndRun(24);
\r
}
\r
}
\r
SekEndRun(24);
\r
}
\r
}
\r