From 92ff02a1addfaacf0b17d165ecb989716a4d80e8 Mon Sep 17 00:00:00 2001 From: Eilionoir Tunnicliff Date: Mon, 16 Jan 2023 19:34:37 -0500 Subject: [PATCH] Fix delegate set issue Using code from an old project and forgor :skull: --- Natives/JavaLauncher.m | 1 - 1 file changed, 1 deletion(-) diff --git a/Natives/JavaLauncher.m b/Natives/JavaLauncher.m index 63f242af..491b37a0 100644 --- a/Natives/JavaLauncher.m +++ b/Natives/JavaLauncher.m @@ -299,7 +299,6 @@ int launchJVM(NSString *username, id launchTarget, int width, int height, int mi NSError *sessionError = nil; [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback withOptions:AVAudioSessionCategoryOptionMixWithOthers error:&sessionError]; [[AVAudioSession sharedInstance] setActive:YES error:&sessionError]; - [[AVAudioSession sharedInstance] setDelegate:self]; pJLI_Launch = (JLI_Launch_func *)dlsym(libjli, "JLI_Launch");