diff options
author | bunnei <bunneidev@gmail.com> | 2014-09-15 03:28:44 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-09-15 03:28:44 +0200 |
commit | 31d9cf4d17ef9ec4835ea5dc64236087989fbe3a (patch) | |
tree | 9fc67e151ae3d776a32a69d873b1d57bf5f34c59 /src/video_core | |
parent | Merge pull request #97 from archshift/cleanup (diff) | |
parent | Core: Fix warnings in gpu.cpp (diff) | |
download | yuzu-31d9cf4d17ef9ec4835ea5dc64236087989fbe3a.tar yuzu-31d9cf4d17ef9ec4835ea5dc64236087989fbe3a.tar.gz yuzu-31d9cf4d17ef9ec4835ea5dc64236087989fbe3a.tar.bz2 yuzu-31d9cf4d17ef9ec4835ea5dc64236087989fbe3a.tar.lz yuzu-31d9cf4d17ef9ec4835ea5dc64236087989fbe3a.tar.xz yuzu-31d9cf4d17ef9ec4835ea5dc64236087989fbe3a.tar.zst yuzu-31d9cf4d17ef9ec4835ea5dc64236087989fbe3a.zip |
Diffstat (limited to 'src/video_core')
-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}); \ |