mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 09:21:36 +00:00
This is probably faster
git-svn-id: https://svn.eduke32.com/eduke32@6841 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
4551b276a1
commit
70b03fd608
1 changed files with 2 additions and 1 deletions
|
@ -380,8 +380,9 @@ void S_StopMusic(void)
|
||||||
void S_Cleanup(void)
|
void S_Cleanup(void)
|
||||||
{
|
{
|
||||||
static uint32_t ldnum;
|
static uint32_t ldnum;
|
||||||
|
uint32_t const odnum = dnum;
|
||||||
|
|
||||||
while (ldnum < dnum)
|
while (ldnum < odnum)
|
||||||
{
|
{
|
||||||
uint32_t num = dq[ldnum++ & (DQSIZE - 1)];
|
uint32_t num = dq[ldnum++ & (DQSIZE - 1)];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue