Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Use std::array<u8,2> instead of u8[2] to fix MSVC build

Lectemdcb1f220cdd2
diff --git a/src/video_core/texture/etc1.cpp b/src/video_core/texture/etc1.cpp
index af60cde1e6..2b7d26f910 100644
--- a/src/video_core/texture/etc1.cpp
+++ b/src/video_core/texture/etc1.cpp
@@ -17,7 +17,7 @@ namespace Texture {
namespace {
-constexpr std::array<u8[2], 8> etc1_modifier_table = {{
+constexpr std::array<std::array<u8, 2>, 8> etc1_modifier_table = {{
{2, 8}, {5, 17}, {9, 29}, {13, 42}, {18, 60}, {24, 80}, {33, 106}, {47, 183},
}};