summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-12-04 20:42:53 +0100
committerTony Wasserka <NeoBrainX@gmail.com>2014-12-09 16:37:34 +0100
commit0305435edd9d6de3a2b245d60bcbf339d6dda2ff (patch)
treebc1872db4bcab8daf3d7750990b8450c1e06cef0
parentcitra-qt: Rename "Stop Tracing" to "Finish Tracing". (diff)
downloadyuzu-0305435edd9d6de3a2b245d60bcbf339d6dda2ff.tar
yuzu-0305435edd9d6de3a2b245d60bcbf339d6dda2ff.tar.gz
yuzu-0305435edd9d6de3a2b245d60bcbf339d6dda2ff.tar.bz2
yuzu-0305435edd9d6de3a2b245d60bcbf339d6dda2ff.tar.lz
yuzu-0305435edd9d6de3a2b245d60bcbf339d6dda2ff.tar.xz
yuzu-0305435edd9d6de3a2b245d60bcbf339d6dda2ff.tar.zst
yuzu-0305435edd9d6de3a2b245d60bcbf339d6dda2ff.zip
-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 {
static std::string GetCommandName(int index) {
std::map<u32, std::string> map;
- // 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 { \
@@ -576,7 +572,6 @@ struct Regs {
ADD_FIELD(vs_swizzle_patterns);
#undef ADD_FIELD
- #endif // _MSC_VER
// Return empty string if no match is found
return map[index];