Commit 3cbb6adf authored by Richard Gobeille's avatar Richard Gobeille
Browse files

audiolib: #if 0 out some dead code in XA and XMP support

This doesn't look like it's intended to be dead code, but nothing sets Loop.Size anywhere.
parent fb807315
......@@ -348,12 +348,14 @@ static playbackstatus MV_GetNextXABlock
if (xad->length == xad->pos)
{
#if 0
if (voice->Loop.Size > 0)
{
xad->pos = XA_DATA_START;
xad->t1 = xad->t2 = xad->t1_x = xad->t2_x = 0;
}
else
#endif
return NoMoreData;
}
......
......@@ -26,6 +26,7 @@ static playbackstatus MV_GetNextXMPBlock(VoiceNode *voice)
if (xmp_play_frame(ctx) != 0)
{
#if 0
if (voice->Loop.Size > 0)
{
xmp_restart_module(ctx);
......@@ -33,6 +34,7 @@ static playbackstatus MV_GetNextXMPBlock(VoiceNode *voice)
return NoMoreData;
}
else
#endif
return NoMoreData;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment