FileSys::Ticket::Load: Return error if signature type does not match (#4339)
* FileSys::Ticket::Load: Return error if signature type does not match * fixup! FileSys::Ticket::Load: Return error if signature type does not match
This commit is contained in:
@@ -33,7 +33,7 @@ inline u32 GetSignatureSize(u32 signature_type) {
|
||||
return 0x3C;
|
||||
}
|
||||
|
||||
UNREACHABLE();
|
||||
LOG_ERROR(Common_Filesystem, "Tried to read ticket with bad signature {}", signature_type);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user