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
|
@ -356,6 +356,9 @@ static int PsndRender(int offset, int length)
|
|||
cdda_raw_update(buf32, length);
|
||||
}
|
||||
|
||||
if ((PicoAHW & PAHW_32X) && (PicoOpt & POPT_EN_PWM))
|
||||
p32x_pwm_update(buf32, length, stereo);
|
||||
|
||||
// convert + limit to normal 16bit output
|
||||
PsndMix_32_to_16l(PsndOut+offset, buf32, length);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue