summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-08-22 00:25:53 +0200
committerGitHub <noreply@github.com>2020-08-22 00:25:53 +0200
commit53fbf8e206bf20596dcc14022fa25f6621a06f4c (patch)
treeae7eed9a1f4f07b9b48caa7cae7a6af03cdcea98
parentMerge pull request #4546 from lioncash/telemetry (diff)
parentmacro-interpreter: Resolve -Wself-assign-field warning (diff)
downloadyuzu-53fbf8e206bf20596dcc14022fa25f6621a06f4c.tar
yuzu-53fbf8e206bf20596dcc14022fa25f6621a06f4c.tar.gz
yuzu-53fbf8e206bf20596dcc14022fa25f6621a06f4c.tar.bz2
yuzu-53fbf8e206bf20596dcc14022fa25f6621a06f4c.tar.lz
yuzu-53fbf8e206bf20596dcc14022fa25f6621a06f4c.tar.xz
yuzu-53fbf8e206bf20596dcc14022fa25f6621a06f4c.tar.zst
yuzu-53fbf8e206bf20596dcc14022fa25f6621a06f4c.zip
-rw-r--r--src/video_core/macro/macro_interpreter.cpp1
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
this->parameters = std::make_unique<u32[]>(num_parameters);
}
std::memcpy(this->parameters.get(), parameters.data(), num_parameters * sizeof(u32));
- this->num_parameters = num_parameters;
// Execute the code until we hit an exit condition.
bool keep_executing = true;