summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-02-25 15:24:36 +0100
committerLioncash <mathew1800@gmail.com>2019-02-25 15:24:39 +0100
commita12f4efa2f908e2c1b0b9343a6314dfce95e0926 (patch)
tree2cbd07ee65f8dea3bf6b0a4059778b0dab7dbe66
parentMerge pull request #2118 from FernandoS27/ipa-improve (diff)
downloadyuzu-a12f4efa2f908e2c1b0b9343a6314dfce95e0926.tar
yuzu-a12f4efa2f908e2c1b0b9343a6314dfce95e0926.tar.gz
yuzu-a12f4efa2f908e2c1b0b9343a6314dfce95e0926.tar.bz2
yuzu-a12f4efa2f908e2c1b0b9343a6314dfce95e0926.tar.lz
yuzu-a12f4efa2f908e2c1b0b9343a6314dfce95e0926.tar.xz
yuzu-a12f4efa2f908e2c1b0b9343a6314dfce95e0926.tar.zst
yuzu-a12f4efa2f908e2c1b0b9343a6314dfce95e0926.zip
-rw-r--r--src/audio_core/codec.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/codec.cpp b/src/audio_core/codec.cpp
index 454de798b..c5a0d98ce 100644
--- a/src/audio_core/codec.cpp
+++ b/src/audio_core/codec.cpp
@@ -68,8 +68,8 @@ std::vector<s16> DecodeADPCM(const u8* const data, std::size_t size, const ADPCM
}
}
- state.yn1 = yn1;
- state.yn2 = yn2;
+ state.yn1 = static_cast<s16>(yn1);
+ state.yn2 = static_cast<s16>(yn2);
return ret;
}