summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2017-08-15 11:16:50 +0200
committerMerryMage <MerryMage@users.noreply.github.com>2017-08-15 11:16:50 +0200
commitb67c2dc82cff794fc1989e103daa96f5ff5f12be (patch)
tree5f157df9a09336c2a53e1cbffb9c5394d909069b
parentMerge pull request #2860 from anodium/patch-1 (diff)
downloadyuzu-b67c2dc82cff794fc1989e103daa96f5ff5f12be.tar
yuzu-b67c2dc82cff794fc1989e103daa96f5ff5f12be.tar.gz
yuzu-b67c2dc82cff794fc1989e103daa96f5ff5f12be.tar.bz2
yuzu-b67c2dc82cff794fc1989e103daa96f5ff5f12be.tar.lz
yuzu-b67c2dc82cff794fc1989e103daa96f5ff5f12be.tar.xz
yuzu-b67c2dc82cff794fc1989e103daa96f5ff5f12be.tar.zst
yuzu-b67c2dc82cff794fc1989e103daa96f5ff5f12be.zip
-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",