summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar MerryMage2017-08-15 10:16:50 +0100
committerGravatar MerryMage2017-08-15 10:16:50 +0100
commitb67c2dc82cff794fc1989e103daa96f5ff5f12be (patch)
tree5f157df9a09336c2a53e1cbffb9c5394d909069b /src
parentMerge pull request #2860 from anodium/patch-1 (diff)
downloadyuzu-b67c2dc82cff794fc1989e103daa96f5ff5f12be.tar.gz
yuzu-b67c2dc82cff794fc1989e103daa96f5ff5f12be.tar.xz
yuzu-b67c2dc82cff794fc1989e103daa96f5ff5f12be.zip
dsp_dsp: Remove size assertion in LoadComponent
Diffstat (limited to 'src')
-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) {
147 LOG_INFO(Service_DSP, "Firmware hash: %#" PRIx64, 147 LOG_INFO(Service_DSP, "Firmware hash: %#" PRIx64,
148 Common::ComputeHash64(component_data.data(), component_data.size())); 148 Common::ComputeHash64(component_data.data(), component_data.size()));
149 // Some versions of the firmware have the location of DSP structures listed here. 149 // Some versions of the firmware have the location of DSP structures listed here.
150 ASSERT(size > 0x37C); 150 if (size > 0x37C) {
151 LOG_INFO(Service_DSP, "Structures hash: %#" PRIx64, 151 LOG_INFO(Service_DSP, "Structures hash: %#" PRIx64,
152 Common::ComputeHash64(component_data.data() + 0x340, 60)); 152 Common::ComputeHash64(component_data.data() + 0x340, 60));
153 }
153 154
154 LOG_WARNING(Service_DSP, 155 LOG_WARNING(Service_DSP,
155 "(STUBBED) called size=0x%X, prog_mask=0x%08X, data_mask=0x%08X, buffer=0x%08X", 156 "(STUBBED) called size=0x%X, prog_mask=0x%08X, data_mask=0x%08X, buffer=0x%08X",