mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-07-31 21:02:25 -07:00
textures: Fix texture buffer size calculation
This commit is contained in:
@@ -213,7 +213,7 @@ struct TICEntry {
|
||||
if (header_version != TICHeaderVersion::OneDBuffer) {
|
||||
return width_minus_1 + 1;
|
||||
}
|
||||
return (buffer_high_width_minus_one << 16) | buffer_low_width_minus_one;
|
||||
return ((buffer_high_width_minus_one << 16) | buffer_low_width_minus_one) + 1;
|
||||
}
|
||||
|
||||
u32 Height() const {
|
||||
|
Reference in New Issue
Block a user