mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
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:
parent
1e6b5e39f4
commit
ef4eb506de
7 changed files with 151 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue