distribution/packages/emulators/standalone/melonds-sa/patches/003-fix-audio.patch
2023-03-17 16:40:00 +00:00

16 lines
525 B
Diff

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2023-present BrooksyTech (https://github.com/brooksytech)
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;
}