diff options
| author | 2020-08-21 18:25:53 -0400 | |
|---|---|---|
| committer | 2020-08-21 18:25:53 -0400 | |
| commit | 53fbf8e206bf20596dcc14022fa25f6621a06f4c (patch) | |
| tree | ae7eed9a1f4f07b9b48caa7cae7a6af03cdcea98 | |
| parent | Merge pull request #4546 from lioncash/telemetry (diff) | |
| parent | macro-interpreter: Resolve -Wself-assign-field warning (diff) | |
| download | yuzu-53fbf8e206bf20596dcc14022fa25f6621a06f4c.tar.gz yuzu-53fbf8e206bf20596dcc14022fa25f6621a06f4c.tar.xz yuzu-53fbf8e206bf20596dcc14022fa25f6621a06f4c.zip | |
Merge pull request #4523 from lioncash/self-assign
macro-interpreter: Resolve -Wself-assign-field warning
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/macro/macro_interpreter.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video_core/macro/macro_interpreter.cpp b/src/video_core/macro/macro_interpreter.cpp index aa5256419..bd01fd1f2 100644 --- a/src/video_core/macro/macro_interpreter.cpp +++ b/src/video_core/macro/macro_interpreter.cpp | |||
| @@ -34,7 +34,6 @@ void MacroInterpreterImpl::Execute(const std::vector<u32>& parameters, u32 metho | |||
| 34 | this->parameters = std::make_unique<u32[]>(num_parameters); | 34 | this->parameters = std::make_unique<u32[]>(num_parameters); |
| 35 | } | 35 | } |
| 36 | std::memcpy(this->parameters.get(), parameters.data(), num_parameters * sizeof(u32)); | 36 | std::memcpy(this->parameters.get(), parameters.data(), num_parameters * sizeof(u32)); |
| 37 | this->num_parameters = num_parameters; | ||
| 38 | 37 | ||
| 39 | // Execute the code until we hit an exit condition. | 38 | // Execute the code until we hit an exit condition. |
| 40 | bool keep_executing = true; | 39 | bool keep_executing = true; |