diff options
author | bunnei <bunneidev@gmail.com> | 2019-08-29 21:59:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-29 21:59:17 +0200 |
commit | a67c4e6e02132a33bb8c6097ee828112ed654c88 (patch) | |
tree | 225dddcfa9562ce652b7f5497034ee0d265c5324 /src/video_core/textures/texture.h | |
parent | Revert "externals: Update FMT to 6.0.0" (diff) | |
parent | gl_shader_decompiler: Rename bufferImage to imageBuffer (diff) | |
download | yuzu-a67c4e6e02132a33bb8c6097ee828112ed654c88.tar yuzu-a67c4e6e02132a33bb8c6097ee828112ed654c88.tar.gz yuzu-a67c4e6e02132a33bb8c6097ee828112ed654c88.tar.bz2 yuzu-a67c4e6e02132a33bb8c6097ee828112ed654c88.tar.lz yuzu-a67c4e6e02132a33bb8c6097ee828112ed654c88.tar.xz yuzu-a67c4e6e02132a33bb8c6097ee828112ed654c88.tar.zst yuzu-a67c4e6e02132a33bb8c6097ee828112ed654c88.zip |
Diffstat (limited to 'src/video_core/textures/texture.h')
-rw-r--r-- | src/video_core/textures/texture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/textures/texture.h b/src/video_core/textures/texture.h index e3be018b9..e36bc2c04 100644 --- a/src/video_core/textures/texture.h +++ b/src/video_core/textures/texture.h @@ -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 { |