mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
FAME integration finished, some adjustments of CPU core stuff
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@278 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
9112b6ce9f
commit
3aa1e148a2
18 changed files with 398 additions and 8706 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue