Unifdef HandleAsync in input.cpp

This commit is contained in:
nukeykt 2019-11-21 01:55:22 +09:00 committed by Christoph Oelckers
parent ba5c3fc58c
commit 7660d74713

View file

@ -176,9 +176,7 @@ void WaitNoKey(int nSecs, void (*pFunc) (void))
while (nTotalTime > (int)totalclock)
{
#ifdef _MSC_VER
HandleAsync();
#endif
if (pFunc) {
pFunc();
}
@ -191,9 +189,7 @@ int WaitAnyKey(int nSecs)
while (1)
{
#ifdef _MSC_VER
HandleAsync();
#endif
if (nTotalTime <= (int)totalclock || nSecs == -1) {
return -1;
}