mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -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
|
@ -77,7 +77,7 @@ void PicoPower(void)
|
|||
if (PicoAHW & PAHW_MCD)
|
||||
PicoPowerMCD();
|
||||
|
||||
if (!(PicoOpt & POPT_DIS_32X))
|
||||
if (PicoOpt & POPT_EN_32X)
|
||||
PicoPower32x();
|
||||
|
||||
PicoReset();
|
||||
|
@ -192,7 +192,7 @@ int PicoReset(void)
|
|||
if (!(PicoOpt & POPT_DIS_IDLE_DET))
|
||||
SekInitIdleDet();
|
||||
|
||||
if (!(PicoOpt & POPT_DIS_32X)) {
|
||||
if (PicoOpt & POPT_EN_32X) {
|
||||
PicoReset32x();
|
||||
return 0;
|
||||
}
|
||||
|
@ -218,6 +218,9 @@ void PicoLoopPrepare(void)
|
|||
|
||||
// FIXME: PAL has 313 scanlines..
|
||||
scanlines_total = Pico.m.pal ? 312 : 262;
|
||||
|
||||
if (PicoAHW & PAHW_32X)
|
||||
p32x_pwm_refresh();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue