From d77eced8c59ff967e08ccfe1b0c5243d648b2c2d Mon Sep 17 00:00:00 2001 From: Sam Ellicott Date: Thu, 14 May 2020 22:47:20 -0400 Subject: [PATCH] Change sleep function --- colorchord2/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/colorchord2/main.c b/colorchord2/main.c index 81a5de1..7a16b2d 100644 --- a/colorchord2/main.c +++ b/colorchord2/main.c @@ -1,6 +1,6 @@ //Copyright 2015 <>< Charles Lohr under the ColorChord License. -#if defined(WIN32) || defined(USE_WINDOWS) +#if defined(WIN32) || defined(USE_WINDOWS) #include #include #endif @@ -417,7 +417,7 @@ int main(int argc, char ** argv) CNFGClearFrame(); CNFGDrawText( "Colorchord must be used with sound. Sound not available.", 10 ); CNFGSwapBuffers(); - sleep(1); + OGSleep(1); } while( 1 ); nf = CreateNoteFinder( sd->sps );