opnsense-ports/audio/fasttracker2/files/patch-src_ft2__main.c
Franco Fichtner 85d066a61f */*: sync with upstream
Taken from: HardenedBSD
2018-09-03 02:25:18 +02:00

17 lines
562 B
C

--- src/ft2_main.c.orig 2018-08-30 13:44:45 UTC
+++ src/ft2_main.c
@@ -234,12 +234,14 @@ int main(int argc, char *argv[])
}
/* set up MIDI input (in a thread because it can take quite a while on f.ex. macOS) */
+ /*
initMidiThread = SDL_CreateThread(initMidiFunc, "FT2 Clone MIDI Initialization Thread", NULL);
if (initMidiThread == NULL)
{
cleanUpAndExit();
return (1);
}
+ */
/* don't let thread wait for this thread, let it clean up on its own when done */
SDL_DetachThread(initMidiThread);