summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-05-18 14:08:49 +0200
committerbunnei <bunneidev@gmail.com>2015-05-18 14:08:49 +0200
commitf0365f28c2ca0d33dcb5f1f4be1d328cbb9dfdd6 (patch)
treef124508f5115244765f6320223c40088f60e1c26 /src/video_core
parentMerge pull request #785 from archshift/break (diff)
parentpica: Add the ULL specifier in IsDefaultAttribute (diff)
downloadyuzu-f0365f28c2ca0d33dcb5f1f4be1d328cbb9dfdd6.tar
yuzu-f0365f28c2ca0d33dcb5f1f4be1d328cbb9dfdd6.tar.gz
yuzu-f0365f28c2ca0d33dcb5f1f4be1d328cbb9dfdd6.tar.bz2
yuzu-f0365f28c2ca0d33dcb5f1f4be1d328cbb9dfdd6.tar.lz
yuzu-f0365f28c2ca0d33dcb5f1f4be1d328cbb9dfdd6.tar.xz
yuzu-f0365f28c2ca0d33dcb5f1f4be1d328cbb9dfdd6.tar.zst
yuzu-f0365f28c2ca0d33dcb5f1f4be1d328cbb9dfdd6.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/pica.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/pica.h b/src/video_core/pica.h
index 3fbf95721..e9bc7fb3b 100644
--- a/src/video_core/pica.h
+++ b/src/video_core/pica.h
@@ -614,7 +614,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 {