diff options
| author | 2015-05-14 14:23:20 -0400 | |
|---|---|---|
| committer | 2015-05-14 14:23:23 -0400 | |
| commit | 497f4bee0c7e548249b25251051763fa7f5bf250 (patch) | |
| tree | 6fe946485249d3bdf18e22b713649a449da5db3f /src | |
| parent | vfp: Get rid of warnings (diff) | |
| download | yuzu-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.h | 2 |
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 { |