mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
cd: switch to CD controller code from genplus
same license, much cleaner code using own dma code though..
This commit is contained in:
parent
a6523294e2
commit
3f23709ef3
14 changed files with 1212 additions and 807 deletions
|
@ -189,3 +189,17 @@ PICO_INTERNAL int SekInterruptS68k(int irq)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void SekInterruptClearS68k(int irq)
|
||||
{
|
||||
int level_new = new_irq_level(irq);
|
||||
|
||||
#ifdef EMU_C68K
|
||||
PicoCpuCS68k.irq = level_new;
|
||||
#endif
|
||||
#ifdef EMU_M68K
|
||||
CPU_INT_LEVEL = level_new << 8;
|
||||
#endif
|
||||
#ifdef EMU_F68K
|
||||
PicoCpuFS68k.interrupts[0] = level_new;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue