Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

maxwell_3d: Use two tables instead of three for dirty flags

ReinUsesLisp31daa97fceea
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index beaf3ffb62..3ff6dec754 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -1294,7 +1294,7 @@ public:
struct {
std::bitset<std::numeric_limits<u8>::max()> flags;
std::bitset<std::numeric_limits<u8>::max()> on_write_stores;
- std::array<std::array<u8, Regs::NUM_REGS>, 3> tables{};
+ std::array<std::array<u8, Regs::NUM_REGS>, 2> tables{};
} dirty;
private: