summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2026-11-08 15:48:34 +0000
committerTillmann Karras <tilkax@gmail.com>2026-11-08 17:42:07 +0000
commitfd7d53a7f78caea283bf11e86303cb305861e499 (patch)
tree9760b6809eafdfcab6f4f6cfe175fc96558dba48 /Source/Core
parent257a6d0eac1d915216dbc974e9390af3050af2b9 (diff)
Skylanders: only play audio received on endpoint 2
This avoids problems in the unrelated game Band Hero.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/IOS/USB/Emulated/Skylanders/Skylander.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/IOS/USB/Emulated/Skylanders/Skylander.cpp b/Source/Core/Core/IOS/USB/Emulated/Skylanders/Skylander.cpp
index 14017eecb5..06338f2138 100644
--- a/Source/Core/Core/IOS/USB/Emulated/Skylanders/Skylander.cpp
+++ b/Source/Core/Core/IOS/USB/Emulated/Skylanders/Skylander.cpp
@@ -1037,7 +1037,7 @@ int SkylanderUSB::SubmitTransfer(std::unique_ptr<IntrMessage> cmd)
u64 expected_time_us;
// Audio requests are 64 bytes long, are the only Interrupt requests longer than 32 bytes,
// echo the request as the response and respond immediately
- if (cmd->length > 32 && cmd->length <= 64)
+ if (cmd->endpoint == 2 && cmd->length > 32 && cmd->length <= 64)
{
// Play audio through Portal Mixer
// Audio is unsigned 16 bit, supplied as 64 bytes which is 32 samples