-Fixed the formatting
This commit is contained in:
parent
9c39bf3241
commit
d02edee33c
|
@ -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);
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
|
Loading…
Reference in New Issue