bugfix for SIMPLE_WRITE_SOUND

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@342 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-01-29 23:29:30 +00:00
parent 03a265e5eb
commit e0978fa87d
3 changed files with 3 additions and 5 deletions

View file

@ -256,6 +256,7 @@ static int CheckIdle(void)
static __inline void getSamples(int y)
{
#if SIMPLE_WRITE_SOUND
if (y != 224) return;
PsndRender(0, PsndLen);
if (PicoWriteSound) PicoWriteSound(PsndLen);
PsndClear();