From 84700588db73911b7f4f38aafda32cdfeb0c4dc3 Mon Sep 17 00:00:00 2001 From: IndecisiveTurtle <47210458+raphaelthegreat@users.noreply.github.com> Date: Mon, 24 Feb 2025 11:43:48 +0200 Subject: [PATCH] liverpool: Relax binary header validity check --- src/video_core/amdgpu/liverpool.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/video_core/amdgpu/liverpool.h b/src/video_core/amdgpu/liverpool.h index 5b9b647eb..c18bcd57b 100644 --- a/src/video_core/amdgpu/liverpool.h +++ b/src/video_core/amdgpu/liverpool.h @@ -83,8 +83,7 @@ struct Liverpool { u32 crc32; bool Valid() const { - return shader_hash && crc32 && - (std::memcmp(signature.data(), signature_ref, sizeof(signature_ref)) == 0); + return std::memcmp(signature.data(), signature_ref, sizeof(signature_ref)) == 0; } };