diff --git a/src/Caret.cpp b/src/Caret.cpp index 5a91c728..f0cd9995 100644 --- a/src/Caret.cpp +++ b/src/Caret.cpp @@ -601,7 +601,7 @@ void ActCaret17(CARET *crt) } typedef void (*CARETFUNCTION)(CARET*); -CARETFUNCTION gpCaretFuncTbl[18] = +CARETFUNCTION gpCaretFuncTbl[] = { ActCaret00, ActCaret01, diff --git a/src/Organya.cpp b/src/Organya.cpp index c0440a8a..c1b70469 100644 --- a/src/Organya.cpp +++ b/src/Organya.cpp @@ -869,6 +869,11 @@ void StopOrganyaMusic(void) memset(key_on, 0, sizeof(key_on)); memset(key_twin, 0, sizeof(key_twin)); + // Put the main thread to sleep for 100 milliseconds... but why? + // Really, what's the point? All this does is cause an annoying + // stutter when a new song loads. + // I'd guess it avoids a race-condition with the Organya thread, + // but the earlier QuitMMTimer call already disables it. Backend_Delay(100); }