diff options
| author | 2022-01-25 13:41:35 -0500 | |
|---|---|---|
| committer | 2022-01-25 13:41:38 -0500 | |
| commit | a05d9405b9192b0e9402eba2305d1a35aac44a74 (patch) | |
| tree | b73e55e664d2fa5d8e924f26fe3a03850b70eadc /src/video_core/macro/macro.cpp | |
| parent | video_core/macro_jit_x64: Remove unused impl class member (diff) | |
| download | yuzu-a05d9405b9192b0e9402eba2305d1a35aac44a74.tar.gz yuzu-a05d9405b9192b0e9402eba2305d1a35aac44a74.tar.xz yuzu-a05d9405b9192b0e9402eba2305d1a35aac44a74.zip | |
video_core/macro: Remove unused parameter from Execute()
Simplifies the function interface.
Diffstat (limited to 'src/video_core/macro/macro.cpp')
| -rw-r--r-- | src/video_core/macro/macro.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/macro/macro.cpp b/src/video_core/macro/macro.cpp index d7fabe605..0870a7687 100644 --- a/src/video_core/macro/macro.cpp +++ b/src/video_core/macro/macro.cpp | |||
| @@ -24,8 +24,7 @@ void MacroEngine::AddCode(u32 method, u32 data) { | |||
| 24 | uploaded_macro_code[method].push_back(data); | 24 | uploaded_macro_code[method].push_back(data); |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | void MacroEngine::Execute(Engines::Maxwell3D& maxwell3d, u32 method, | 27 | void MacroEngine::Execute(u32 method, const std::vector<u32>& parameters) { |
| 28 | const std::vector<u32>& parameters) { | ||
| 29 | auto compiled_macro = macro_cache.find(method); | 28 | auto compiled_macro = macro_cache.find(method); |
| 30 | if (compiled_macro != macro_cache.end()) { | 29 | if (compiled_macro != macro_cache.end()) { |
| 31 | const auto& cache_info = compiled_macro->second; | 30 | const auto& cache_info = compiled_macro->second; |