From 42ef3b2f0777dc160c63e18a6b6d3e4222509f5c Mon Sep 17 00:00:00 2001 From: deuce <> Date: Mon, 29 May 2006 14:28:50 +0000 Subject: [PATCH] Use the new listSemTryWaitBlock() semantics. --- src/conio/cterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conio/cterm.c b/src/conio/cterm.c index 15e66a4f52..99c4bd38c2 100644 --- a/src/conio/cterm.c +++ b/src/conio/cterm.c @@ -190,7 +190,7 @@ void playnote_thread(void *args) playnote_thread_running=TRUE; while(1) { if(device_open) { - if(listSemTryWaitBlock(¬es,5000)) { + if(!listSemTryWaitBlock(¬es,5000)) { xptone_close(); device_open=FALSE; listSemWait(¬es); -- GitLab