mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
win32 stuff, SIMPLE_WRITE_SOUND
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@341 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
7c9e6899a2
commit
03a265e5eb
14 changed files with 161 additions and 57 deletions
|
@ -232,6 +232,7 @@ PICO_INTERNAL int PsndRender(int offset, int length)
|
|||
int do_pcm = (PicoMCD&1) && (PicoOpt&0x400) && (Pico_mcd->pcm.control & 0x80) && Pico_mcd->pcm.enabled;
|
||||
offset <<= stereo;
|
||||
|
||||
#if !SIMPLE_WRITE_SOUND
|
||||
if (offset == 0) { // should happen once per frame
|
||||
// compensate for float part of PsndLen
|
||||
PsndLen_exc_cnt += PsndLen_exc_add;
|
||||
|
@ -240,6 +241,7 @@ PICO_INTERNAL int PsndRender(int offset, int length)
|
|||
length++;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// PSG
|
||||
if (PicoOpt & 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue