mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
Merge pull request #2881 from MerryMage/dsp-firm-check
dsp_dsp: Remove size assertion in LoadComponent
This commit is contained in:
commit
21204ba488
1 changed files with 4 additions and 3 deletions
|
@ -147,9 +147,10 @@ static void LoadComponent(Service::Interface* self) {
|
||||||
LOG_INFO(Service_DSP, "Firmware hash: %#" PRIx64,
|
LOG_INFO(Service_DSP, "Firmware hash: %#" PRIx64,
|
||||||
Common::ComputeHash64(component_data.data(), component_data.size()));
|
Common::ComputeHash64(component_data.data(), component_data.size()));
|
||||||
// Some versions of the firmware have the location of DSP structures listed here.
|
// Some versions of the firmware have the location of DSP structures listed here.
|
||||||
ASSERT(size > 0x37C);
|
if (size > 0x37C) {
|
||||||
LOG_INFO(Service_DSP, "Structures hash: %#" PRIx64,
|
LOG_INFO(Service_DSP, "Structures hash: %#" PRIx64,
|
||||||
Common::ComputeHash64(component_data.data() + 0x340, 60));
|
Common::ComputeHash64(component_data.data() + 0x340, 60));
|
||||||
|
}
|
||||||
|
|
||||||
LOG_WARNING(Service_DSP,
|
LOG_WARNING(Service_DSP,
|
||||||
"(STUBBED) called size=0x%X, prog_mask=0x%08X, data_mask=0x%08X, buffer=0x%08X",
|
"(STUBBED) called size=0x%X, prog_mask=0x%08X, data_mask=0x%08X, buffer=0x%08X",
|
||||||
|
|
Loading…
Reference in a new issue