mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
Fixed hang when TiMidity++ executable failed to launch
https://forum.zdoom.org/viewtopic.php?t=59539
This commit is contained in:
parent
117b796c6b
commit
ff897997d6
1 changed files with 4 additions and 0 deletions
|
@ -692,6 +692,10 @@ bool TimidityPPMIDIDevice::FillStream(SoundStream *stream, void *buff, int len,
|
|||
}
|
||||
break;
|
||||
}
|
||||
else if (r == 0 && errno != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
got += r;
|
||||
} while(got < len);
|
||||
if(got < len)
|
||||
|
|
Loading…
Reference in a new issue