Merge pull request #1091 from brooksytech/dev

Fix MelonDS SA audio
This commit is contained in:
Brooksytech 2023-02-22 12:45:19 -08:00 committed by GitHub
commit 6c540e589f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,16 @@
# 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;
}