summaryrefslogtreecommitdiff
path: root/src/video_core
diff options
context:
space:
mode:
authorGravatar Lioncash2014-09-13 22:55:41 -0400
committerGravatar Lioncash2014-09-13 22:55:41 -0400
commit6cc7c73b8088d415c2eeae4ecacb7659cd2fd430 (patch)
tree6ec44474be0d41b8dbf37ef91e1ad2f13c679ec2 /src/video_core
parentMerge pull request #105 from kevinhartman/hid (diff)
downloadyuzu-6cc7c73b8088d415c2eeae4ecacb7659cd2fd430.tar.gz
yuzu-6cc7c73b8088d415c2eeae4ecacb7659cd2fd430.tar.xz
yuzu-6cc7c73b8088d415c2eeae4ecacb7659cd2fd430.zip
Core: Fix warnings in gpu.cpp
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/pica.h2
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 {
516 // Used for debugging purposes, so performance is not an issue here 516 // Used for debugging purposes, so performance is not an issue here
517 static std::string GetCommandName(int index) { 517 static std::string GetCommandName(int index) {
518 std::map<u32, std::string> map; 518 std::map<u32, std::string> map;
519 Regs regs;
520 519
521 // TODO: MSVC does not support using offsetof() on non-static data members even though this 520 // TODO: MSVC does not support using offsetof() on non-static data members even though this
522 // is technically allowed since C++11. Hence, this functionality is disabled until 521 // is technically allowed since C++11. Hence, this functionality is disabled until
523 // MSVC properly supports it. 522 // MSVC properly supports it.
524 #ifndef _MSC_VER 523 #ifndef _MSC_VER
524 Regs regs;
525 #define ADD_FIELD(name) \ 525 #define ADD_FIELD(name) \
526 do { \ 526 do { \
527 map.insert({PICA_REG_INDEX(name), #name}); \ 527 map.insert({PICA_REG_INDEX(name), #name}); \