Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

video_core: add extra braces around initializer

Yuri Kunde Schlesner9b7d85a4f5a3
diff --git a/src/video_core/pica.h b/src/video_core/pica.h
index 684ec9818a..9628a75896 100644
--- a/src/video_core/pica.h
+++ b/src/video_core/pica.h
@@ -372,9 +372,9 @@ struct Regs {
INSERT_PADDING_WORDS(0x2);
const std::array<Regs::TevStageConfig,6> GetTevStages() const {
- return { tev_stage0, tev_stage1,
- tev_stage2, tev_stage3,
- tev_stage4, tev_stage5 };
+ return {{ tev_stage0, tev_stage1,
+ tev_stage2, tev_stage3,
+ tev_stage4, tev_stage5 }};
};
enum class BlendEquation : u32 {