game_list: Use RegisteredCacheUnion for installed

Reduces code
This commit is contained in:
Zach Hilman 2018-08-25 18:59:19 -04:00
parent 99fbcb3bf2
commit d2caf4af7d
3 changed files with 3 additions and 5 deletions

View file

@ -21,7 +21,7 @@ size_t CTREncryptionLayer::Read(u8* data, size_t length, size_t offset) const {
UpdateIV(base_offset + offset);
std::vector<u8> raw = base->ReadBytes(length, offset);
cipher.Transcode(raw.data(), raw.size(), data, Op::Decrypt);
return raw.size();
return length;
}
// offset does not fall on block boundary (0x10)