VERY experimental Nintendo Switch 2 emulator
C++
Textures: Added a helper function to know if a texture is blocklinear or pitch.
Subvd9e067fad69a
diff --git a/src/video_core/textures/texture.h b/src/video_core/textures/texture.hindex 07936f8a39..1145e39f8c 100644--- a/src/video_core/textures/texture.h+++ b/src/video_core/textures/texture.h@@ -77,6 +77,11 @@ struct TICEntry {u32 Height() const {return height_minus_1 + 1;}++ bool IsTiled() const {+ return header_version == TICHeaderVersion::BlockLinear ||+ header_version == TICHeaderVersion::BlockLinearColorKey;+ }};static_assert(sizeof(TICEntry) == 0x20, "TICEntry has wrong size");