summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2026-11-08 20:08:28 +0000
committerGitHub <noreply@github.com>2026-11-08 20:08:28 +0000
commit41799046d68b2e5ea7cfde91f122320a472b7a61 (patch)
tree5600d7692fc1c10109325c03ae35d39930290a6f /Source/Core
parent60e09c28d79310e69570a5771ccef99154ee4216 (diff)
parentfd7d53a7f78caea283bf11e86303cb305861e499 (diff)
Merge pull request #14997 from Tilka/skylander_noise
Skylanders: only play audio received on endpoint 2
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