diff options
| author | 2015-07-25 12:50:32 -0700 | |
|---|---|---|
| committer | 2015-07-25 12:50:32 -0700 | |
| commit | 9a0f9f12cd867c8fa033fa8e5e564bda2eaf2db1 (patch) | |
| tree | 732bc1b978397a05fab07d5443fe05534ea39b37 /src/video_core/pica.h | |
| parent | Merge pull request #981 from Subv/checkboxes (diff) | |
| parent | Vertex Shader : Undo casting (diff) | |
| download | yuzu-9a0f9f12cd867c8fa033fa8e5e564bda2eaf2db1.tar.gz yuzu-9a0f9f12cd867c8fa033fa8e5e564bda2eaf2db1.tar.xz yuzu-9a0f9f12cd867c8fa033fa8e5e564bda2eaf2db1.zip | |
Merge pull request #892 from zawata/another-warning-fixes
Yet More Warning Fixes
Diffstat (limited to 'src/video_core/pica.h')
| -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 aec6f0660..38599a7a3 100644 --- a/src/video_core/pica.h +++ b/src/video_core/pica.h | |||
| @@ -913,7 +913,7 @@ struct Regs { | |||
| 913 | 913 | ||
| 914 | #define ADD_FIELD(name) \ | 914 | #define ADD_FIELD(name) \ |
| 915 | do { \ | 915 | do { \ |
| 916 | map.insert({PICA_REG_INDEX(name), #name}); \ | 916 | map.insert({static_cast<u32>(PICA_REG_INDEX(name)), #name}); \ |
| 917 | /* TODO: change to Regs::name when VS2015 and other compilers support it */ \ | 917 | /* TODO: change to Regs::name when VS2015 and other compilers support it */ \ |
| 918 | for (u32 i = PICA_REG_INDEX(name) + 1; i < PICA_REG_INDEX(name) + sizeof(Regs().name) / 4; ++i) \ | 918 | for (u32 i = PICA_REG_INDEX(name) + 1; i < PICA_REG_INDEX(name) + sizeof(Regs().name) / 4; ++i) \ |
| 919 | map.insert({i, #name + std::string("+") + std::to_string(i-PICA_REG_INDEX(name))}); \ | 919 | map.insert({i, #name + std::string("+") + std::to_string(i-PICA_REG_INDEX(name))}); \ |