From c878ff22e0fd38f4bdd3fec0ca9cc65db70cbefc Mon Sep 17 00:00:00 2001 From: Lorenzooone Date: Tue, 22 Jul 2025 14:36:46 +0200 Subject: [PATCH] Ensure NotificationCallback is not called when not needed --- source/cc3dsfs.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/cc3dsfs.cpp b/source/cc3dsfs.cpp index 5a7d4db..4a388f4 100755 --- a/source/cc3dsfs.cpp +++ b/source/cc3dsfs.cpp @@ -501,6 +501,7 @@ static void soundCall(AudioData *audio_data, CaptureData* capture_data, volatile } } + sf::PlaybackDevice::setNotificationCallback([](sf::PlaybackDevice::Notification notification){}); audio.stop_audio(); audio.stop(); delete []out_buf;