Merge pull request #110 from lioncash/warnings
Core: Fix warnings in gpu.cpp
This commit is contained in:
commit
31d9cf4d17
2 changed files with 7 additions and 7 deletions
|
@ -516,12 +516,12 @@ struct Regs {
|
|||
// Used for debugging purposes, so performance is not an issue here
|
||||
static std::string GetCommandName(int index) {
|
||||
std::map<u32, std::string> map;
|
||||
Regs regs;
|
||||
|
||||
// TODO: MSVC does not support using offsetof() on non-static data members even though this
|
||||
// is technically allowed since C++11. Hence, this functionality is disabled until
|
||||
// MSVC properly supports it.
|
||||
#ifndef _MSC_VER
|
||||
Regs regs;
|
||||
#define ADD_FIELD(name) \
|
||||
do { \
|
||||
map.insert({PICA_REG_INDEX(name), #name}); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue