Pico PCM, only one hardcoded mode for now

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@444 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-05-11 19:51:59 +00:00
parent 1e6b5e39f4
commit ef4eb506de
7 changed files with 151 additions and 12 deletions

View file

@ -326,6 +326,11 @@ PICO_INTERNAL int PsndRender(int offset, int length)
if (PicoOpt & POPT_EN_PSG)
SN76496Update(PsndOut+offset, length, stereo);
if (PicoAHW & PAHW_PICO) {
PicoPicoPCMUpdate(PsndOut+offset, length, stereo);
return length;
}
// Add in the stereo FM buffer
if (PicoOpt & POPT_EN_FM) {
buf32_updated = YM2612UpdateOne(buf32, length, stereo, 1);