yuzu-emu
/
yuzu
Archived
1
0
Fork 0

video_core: eliminate constant ternary

`via_header_index` is already checked above, so it would never be true in this branch
This commit is contained in:
Valeri 2021-08-19 21:22:05 +03:00 committed by GitHub
parent 562d2aa3d6
commit 4fd655cb46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ static_assert(sizeof(TextureHandle) == 4, "TextureHandle has wrong size");
return {raw, raw};
} else {
const Tegra::Texture::TextureHandle handle{raw};
return {handle.tic_id, via_header_index ? handle.tic_id : handle.tsc_id};
return {handle.tic_id, handle.tsc_id};
}
}