summaryrefslogtreecommitdiffstats
path: root/src/video_core/pica.h
diff options
context:
space:
mode:
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;