Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

pica: Add the ULL specifier in IsDefaultAttribute

Lioncash497f4bee0c7e
diff --git a/src/video_core/pica.h b/src/video_core/pica.h
index a53429716b..b28b0f8641 100644
--- a/src/video_core/pica.h
+++ b/src/video_core/pica.h
@@ -616,7 +616,7 @@ struct Regs {
}
inline bool IsDefaultAttribute(int id) const {
- return (id >= 12) || (attribute_mask & (1 << id)) != 0;
+ return (id >= 12) || (attribute_mask & (1ULL << id)) != 0;
}
inline int GetNumTotalAttributes() const {