-Fixed the formatting

This commit is contained in:
cyberwarriorx 2006-11-12 18:24:53 +00:00
parent 9c39bf3241
commit d02edee33c
2 changed files with 282 additions and 280 deletions

View File

@ -208,7 +208,7 @@ void SNDDXUpdateAudio(s16 *buffer, u32 num_samples)
memcpy(buffer1, buffer, buffer1_size);
if (buffer2)
memcpy(buffer2, buffer+buffer1_size, buffer2_size);
memcpy(buffer2, ((u8 *)buffer)+buffer1_size, buffer2_size);
soundoffset += buffer1_size + buffer2_size;
soundoffset %= soundbufsize;
@ -262,3 +262,5 @@ void SNDDXSetVolume(int volume)
IDirectSoundBuffer8_SetVolume (lpDSB2, soundvolume);
}
//////////////////////////////////////////////////////////////////////////////