distribution/packages/emulators/standalone/melonds-sa/patches/003-fix-audio.patch

16 lines
525 B
Diff

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2022-present JELOS (https://github.com/JustEnoughLinuxOS)
diff --git a/src/frontend/qt_sdl/Platform.cpp b/src/frontend/qt_sdl/Platform.cpp
index f9eaf42..ff4bc03 100644
--- a/src/frontend/qt_sdl/Platform.cpp
+++ b/src/frontend/qt_sdl/Platform.cpp
@@ -81,7 +81,7 @@ void IPCInit()
{
if (!(mask & (1<<i)))
{
- IPCInstanceID = i;
+ IPCInstanceID = 0;
*(u16*)&data[0] |= (1<<i);
break;
}