summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2015-05-14 14:23:20 -0400
committerGravatar Lioncash2015-05-14 14:23:23 -0400
commit497f4bee0c7e548249b25251051763fa7f5bf250 (patch)
tree6fe946485249d3bdf18e22b713649a449da5db3f /src
parentvfp: Get rid of warnings (diff)
downloadyuzu-497f4bee0c7e548249b25251051763fa7f5bf250.tar.gz
yuzu-497f4bee0c7e548249b25251051763fa7f5bf250.tar.xz
yuzu-497f4bee0c7e548249b25251051763fa7f5bf250.zip
pica: Add the ULL specifier in IsDefaultAttribute
This is necessary otherwise there are warnings about a 32-bit result being casted to a 64-bit value.
Diffstat (limited to 'src')
-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 a53429716..b28b0f864 100644
--- a/src/video_core/pica.h
+++ b/src/video_core/pica.h
@@ -616,7 +616,7 @@ struct Regs {
616 } 616 }
617 617
618 inline bool IsDefaultAttribute(int id) const { 618 inline bool IsDefaultAttribute(int id) const {
619 return (id >= 12) || (attribute_mask & (1 << id)) != 0; 619 return (id >= 12) || (attribute_mask & (1ULL << id)) != 0;
620 } 620 }
621 621
622 inline int GetNumTotalAttributes() const { 622 inline int GetNumTotalAttributes() const {