diff options
| author | 2015-05-18 08:08:49 -0400 | |
|---|---|---|
| committer | 2015-05-18 08:08:49 -0400 | |
| commit | f0365f28c2ca0d33dcb5f1f4be1d328cbb9dfdd6 (patch) | |
| tree | f124508f5115244765f6320223c40088f60e1c26 /src/video_core | |
| parent | Merge pull request #785 from archshift/break (diff) | |
| parent | pica: Add the ULL specifier in IsDefaultAttribute (diff) | |
| download | yuzu-f0365f28c2ca0d33dcb5f1f4be1d328cbb9dfdd6.tar.gz yuzu-f0365f28c2ca0d33dcb5f1f4be1d328cbb9dfdd6.tar.xz yuzu-f0365f28c2ca0d33dcb5f1f4be1d328cbb9dfdd6.zip | |
Merge pull request #772 from lioncash/warn
core/video_core: Fix a few warnings when compiling on MSVC.
Diffstat (limited to 'src/video_core')
| -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 3fbf95721..e9bc7fb3b 100644 --- a/src/video_core/pica.h +++ b/src/video_core/pica.h | |||
| @@ -614,7 +614,7 @@ struct Regs { | |||
| 614 | } | 614 | } |
| 615 | 615 | ||
| 616 | inline bool IsDefaultAttribute(int id) const { | 616 | inline bool IsDefaultAttribute(int id) const { |
| 617 | return (id >= 12) || (attribute_mask & (1 << id)) != 0; | 617 | return (id >= 12) || (attribute_mask & (1ULL << id)) != 0; |
| 618 | } | 618 | } |
| 619 | 619 | ||
| 620 | inline int GetNumTotalAttributes() const { | 620 | inline int GetNumTotalAttributes() const { |