diff options
| author | David Marcec <dmarcecguzman@gmail.com> | 2020-06-03 16:33:38 +1000 |
|---|---|---|
| committer | David Marcec <dmarcecguzman@gmail.com> | 2020-06-03 16:33:38 +1000 |
| commit | 411f5527d41ba5c4f09b914b4fb4df0c6493f744 (patch) | |
| tree | de34bb541a8d2fa4a3ff411dccb2aef8a5a24574 /src/video_core/macro/macro_jit_x64.cpp | |
| parent | 3a20e74f4056a03253e563510048e99ea548d5b4 (diff) | |
Mark parameters as const
Diffstat (limited to 'src/video_core/macro/macro_jit_x64.cpp')
| -rw-r--r-- | src/video_core/macro/macro_jit_x64.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/macro/macro_jit_x64.cpp b/src/video_core/macro/macro_jit_x64.cpp index 48501e582..11c1cc3be 100644 --- a/src/video_core/macro/macro_jit_x64.cpp +++ b/src/video_core/macro/macro_jit_x64.cpp @@ -47,7 +47,7 @@ MacroJITx64Impl::MacroJITx64Impl(Engines::Maxwell3D& maxwell3d, const std::vecto MacroJITx64Impl::~MacroJITx64Impl() = default; -void MacroJITx64Impl::Execute(std::vector<u32>& parameters, u32 method) { +void MacroJITx64Impl::Execute(const std::vector<u32>& parameters, u32 method) { MICROPROFILE_SCOPE(MacroJitExecute); ASSERT_OR_EXECUTE(program != nullptr, { return; }); JITState state{}; |
