summaryrefslogtreecommitdiff
path: root/src/video_core
diff options
context:
space:
mode:
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}); \