diff options
| author | bunnei <bunneidev@gmail.com> | 2014-09-14 21:28:44 -0400 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2014-09-14 21:28:44 -0400 |
| commit | 31d9cf4d17ef9ec4835ea5dc64236087989fbe3a (patch) | |
| tree | 9fc67e151ae3d776a32a69d873b1d57bf5f34c59 /src/video_core/pica.h | |
| parent | 5481115e71b1e8a35bce002926be3db6b91955a5 (diff) | |
| parent | 6cc7c73b8088d415c2eeae4ecacb7659cd2fd430 (diff) | |
Merge pull request #110 from lioncash/warnings
Core: Fix warnings in gpu.cpp
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 cfdc9b934..374cd83c1 100644 --- a/src/video_core/pica.h +++ b/src/video_core/pica.h @@ -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}); \ |
