diff options
author | zawata <zawataza@gmail.com> | 2015-06-29 06:49:21 +0200 |
---|---|---|
committer | zawata <zawataza@gmail.com> | 2015-07-19 13:08:44 +0200 |
commit | f7050021dedd14f863cb914ba90f04fd0a188108 (patch) | |
tree | 46cb7dc5c492c0f476aec21f29f7b22d95688b11 | |
parent | Citra_QT : Another Conversion Warning Fix (diff) | |
download | yuzu-f7050021dedd14f863cb914ba90f04fd0a188108.tar yuzu-f7050021dedd14f863cb914ba90f04fd0a188108.tar.gz yuzu-f7050021dedd14f863cb914ba90f04fd0a188108.tar.bz2 yuzu-f7050021dedd14f863cb914ba90f04fd0a188108.tar.lz yuzu-f7050021dedd14f863cb914ba90f04fd0a188108.tar.xz yuzu-f7050021dedd14f863cb914ba90f04fd0a188108.tar.zst yuzu-f7050021dedd14f863cb914ba90f04fd0a188108.zip |
Diffstat (limited to '')
-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 026b10a62..2b7ad206b 100644 --- a/src/video_core/pica.h +++ b/src/video_core/pica.h @@ -898,7 +898,7 @@ struct Regs { #define ADD_FIELD(name) \ do { \ - map.insert({PICA_REG_INDEX(name), #name}); \ + map.insert({static_cast<u32>(PICA_REG_INDEX(name)), #name}); \ /* TODO: change to Regs::name when VS2015 and other compilers support it */ \ for (u32 i = PICA_REG_INDEX(name) + 1; i < PICA_REG_INDEX(name) + sizeof(Regs().name) / 4; ++i) \ map.insert({i, #name + std::string("+") + std::to_string(i-PICA_REG_INDEX(name))}); \ |