summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-09-14 04:55:41 +0200
committerLioncash <mathew1800@gmail.com>2014-09-14 04:55:41 +0200
commit6cc7c73b8088d415c2eeae4ecacb7659cd2fd430 (patch)
tree6ec44474be0d41b8dbf37ef91e1ad2f13c679ec2 /src/video_core
parentMerge pull request #105 from kevinhartman/hid (diff)
downloadyuzu-6cc7c73b8088d415c2eeae4ecacb7659cd2fd430.tar
yuzu-6cc7c73b8088d415c2eeae4ecacb7659cd2fd430.tar.gz
yuzu-6cc7c73b8088d415c2eeae4ecacb7659cd2fd430.tar.bz2
yuzu-6cc7c73b8088d415c2eeae4ecacb7659cd2fd430.tar.lz
yuzu-6cc7c73b8088d415c2eeae4ecacb7659cd2fd430.tar.xz
yuzu-6cc7c73b8088d415c2eeae4ecacb7659cd2fd430.tar.zst
yuzu-6cc7c73b8088d415c2eeae4ecacb7659cd2fd430.zip
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 {
// 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}); \