summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-08-16 05:14:41 +0200
committerGitHub <noreply@github.com>2017-08-16 05:14:41 +0200
commit21204ba488fd00be4cc6e44998c5d7c8bd0fec91 (patch)
tree2214fa3e9cd5a17f50ccbae89a71c4e1d74469e7 /src/core/hle
parentMerge pull request #2879 from danzel/patch-1 (diff)
parentdsp_dsp: Remove size assertion in LoadComponent (diff)
downloadyuzu-21204ba488fd00be4cc6e44998c5d7c8bd0fec91.tar
yuzu-21204ba488fd00be4cc6e44998c5d7c8bd0fec91.tar.gz
yuzu-21204ba488fd00be4cc6e44998c5d7c8bd0fec91.tar.bz2
yuzu-21204ba488fd00be4cc6e44998c5d7c8bd0fec91.tar.lz
yuzu-21204ba488fd00be4cc6e44998c5d7c8bd0fec91.tar.xz
yuzu-21204ba488fd00be4cc6e44998c5d7c8bd0fec91.tar.zst
yuzu-21204ba488fd00be4cc6e44998c5d7c8bd0fec91.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/dsp_dsp.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/hle/service/dsp_dsp.cpp b/src/core/hle/service/dsp_dsp.cpp
index 7d746054f..42f8950f9 100644
--- a/src/core/hle/service/dsp_dsp.cpp
+++ b/src/core/hle/service/dsp_dsp.cpp
@@ -147,9 +147,10 @@ static void LoadComponent(Service::Interface* self) {
LOG_INFO(Service_DSP, "Firmware hash: %#" PRIx64,
Common::ComputeHash64(component_data.data(), component_data.size()));
// Some versions of the firmware have the location of DSP structures listed here.
- ASSERT(size > 0x37C);
- LOG_INFO(Service_DSP, "Structures hash: %#" PRIx64,
- Common::ComputeHash64(component_data.data() + 0x340, 60));
+ if (size > 0x37C) {
+ LOG_INFO(Service_DSP, "Structures hash: %#" PRIx64,
+ Common::ComputeHash64(component_data.data() + 0x340, 60));
+ }
LOG_WARNING(Service_DSP,
"(STUBBED) called size=0x%X, prog_mask=0x%08X, data_mask=0x%08X, buffer=0x%08X",