summaryrefslogtreecommitdiff
path: root/src/video_core/macro
diff options
context:
space:
mode:
authorGravatar David Marcec2020-06-04 22:23:07 +1000
committerGravatar David Marcec2020-06-04 22:23:07 +1000
commiteca3d16e548451f403cc4cc2e9fb38ed96693102 (patch)
tree43e47d6b09fe97361da3ea7a8357eb95d72ec254 /src/video_core/macro
parentMark parameters as const (diff)
downloadyuzu-eca3d16e548451f403cc4cc2e9fb38ed96693102.tar.gz
yuzu-eca3d16e548451f403cc4cc2e9fb38ed96693102.tar.xz
yuzu-eca3d16e548451f403cc4cc2e9fb38ed96693102.zip
Default init labels and use initializer list for macro engine
Diffstat (limited to 'src/video_core/macro')
-rw-r--r--src/video_core/macro/macro_jit_x64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/macro/macro_jit_x64.h b/src/video_core/macro/macro_jit_x64.h
index 6152cb501..21ee157cf 100644
--- a/src/video_core/macro/macro_jit_x64.h
+++ b/src/video_core/macro/macro_jit_x64.h
@@ -85,7 +85,7 @@ private:
85 std::optional<Macro::Opcode> next_opcode{}; 85 std::optional<Macro::Opcode> next_opcode{};
86 ProgramType program{nullptr}; 86 ProgramType program{nullptr};
87 87
88 std::array<Xbyak::Label, MAX_CODE_SIZE> labels; 88 std::array<Xbyak::Label, MAX_CODE_SIZE> labels{};
89 std::array<Xbyak::Label, MAX_CODE_SIZE> delay_skip{}; 89 std::array<Xbyak::Label, MAX_CODE_SIZE> delay_skip{};
90 Xbyak::Label end_of_code{}; 90 Xbyak::Label end_of_code{};
91 91