mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 07:38:05 -04:00
32x: preliminary PWM implementation. 32x opts in menu
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@790 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
5e128c6d27
commit
db1d3564e6
16 changed files with 256 additions and 46 deletions
|
@ -100,6 +100,9 @@ static int PicoFrameHints(void)
|
|||
#ifdef PICO_CD
|
||||
check_cd_dma();
|
||||
#endif
|
||||
#ifdef PICO_32X
|
||||
p32x_pwm_irq_check();
|
||||
#endif
|
||||
|
||||
// H-Interrupts:
|
||||
if (--hint < 0) // y <= lines_vis: Comix Zone, Golden Axe
|
||||
|
@ -169,6 +172,9 @@ static int PicoFrameHints(void)
|
|||
#ifdef PICO_CD
|
||||
check_cd_dma();
|
||||
#endif
|
||||
#ifdef PICO_32X
|
||||
p32x_pwm_irq_check();
|
||||
#endif
|
||||
|
||||
// Last H-Int:
|
||||
if (--hint < 0)
|
||||
|
@ -237,6 +243,9 @@ static int PicoFrameHints(void)
|
|||
#ifdef PICO_CD
|
||||
check_cd_dma();
|
||||
#endif
|
||||
#ifdef PICO_32X
|
||||
p32x_pwm_irq_check();
|
||||
#endif
|
||||
|
||||
// Run scanline:
|
||||
if (Pico.m.dma_xfers) SekCyclesBurn(CheckDMA());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue