mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-09-08 07:19:09 +01:00
Video_Core: Finally fix pesky warning
This commit is contained in:
parent
c66b5ca3d9
commit
f7050021de
1 changed files with 1 additions and 1 deletions
|
@ -898,7 +898,7 @@ struct Regs {
|
||||||
|
|
||||||
#define ADD_FIELD(name) \
|
#define ADD_FIELD(name) \
|
||||||
do { \
|
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 */ \
|
/* 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) \
|
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))}); \
|
map.insert({i, #name + std::string("+") + std::to_string(i-PICA_REG_INDEX(name))}); \
|
||||||
|
|
Loading…
Reference in a new issue