summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/video_core/pica.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/video_core/pica.h b/src/video_core/pica.h
index b463a32ef..e7ca38978 100644
--- a/src/video_core/pica.h
+++ b/src/video_core/pica.h
@@ -536,10 +536,6 @@ struct Regs {
536 static std::string GetCommandName(int index) { 536 static std::string GetCommandName(int index) {
537 std::map<u32, std::string> map; 537 std::map<u32, std::string> map;
538 538
539 // TODO: MSVC does not support using offsetof() on non-static data members even though this
540 // is technically allowed since C++11. Hence, this functionality is disabled until
541 // MSVC properly supports it.
542 #ifndef _MSC_VER
543 Regs regs; 539 Regs regs;
544 #define ADD_FIELD(name) \ 540 #define ADD_FIELD(name) \
545 do { \ 541 do { \
@@ -576,7 +572,6 @@ struct Regs {
576 ADD_FIELD(vs_swizzle_patterns); 572 ADD_FIELD(vs_swizzle_patterns);
577 573
578 #undef ADD_FIELD 574 #undef ADD_FIELD
579 #endif // _MSC_VER
580 575
581 // Return empty string if no match is found 576 // Return empty string if no match is found
582 return map[index]; 577 return map[index];