summaryrefslogtreecommitdiffstats
path: root/src/video_core/pica.h
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-05-18 19:59:36 +0200
committerbunnei <ericbunnie@gmail.com>2014-06-12 12:10:52 +0200
commitb0051b2203d8319e57603ee6cbfaa5cd798de060 (patch)
tree8d331f1958fbf0dda7215e597faff818a7bda247 /src/video_core/pica.h
parentcitra-qt: Add command list view. (diff)
downloadyuzu-b0051b2203d8319e57603ee6cbfaa5cd798de060.tar
yuzu-b0051b2203d8319e57603ee6cbfaa5cd798de060.tar.gz
yuzu-b0051b2203d8319e57603ee6cbfaa5cd798de060.tar.bz2
yuzu-b0051b2203d8319e57603ee6cbfaa5cd798de060.tar.lz
yuzu-b0051b2203d8319e57603ee6cbfaa5cd798de060.tar.xz
yuzu-b0051b2203d8319e57603ee6cbfaa5cd798de060.tar.zst
yuzu-b0051b2203d8319e57603ee6cbfaa5cd798de060.zip
Diffstat (limited to 'src/video_core/pica.h')
-rw-r--r--src/video_core/pica.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/pica.h b/src/video_core/pica.h
index dab861408..8ebe0dc3c 100644
--- a/src/video_core/pica.h
+++ b/src/video_core/pica.h
@@ -24,6 +24,8 @@ enum class CommandId : u32
};
union CommandHeader {
+ CommandHeader(u32 h) : hex(h) {}
+
u32 hex;
BitField< 0, 16, CommandId> cmd_id;