diff options
Diffstat (limited to 'src/video_core/macro/macro.cpp')
| -rw-r--r-- | src/video_core/macro/macro.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/macro/macro.cpp b/src/video_core/macro/macro.cpp index d05a88479..89077a2d8 100644 --- a/src/video_core/macro/macro.cpp +++ b/src/video_core/macro/macro.cpp | |||
| @@ -15,7 +15,7 @@ void MacroEngine::AddCode(u32 method, u32 data) { | |||
| 15 | uploaded_macro_code[method].push_back(data); | 15 | uploaded_macro_code[method].push_back(data); |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | void MacroEngine::Execute(u32 method, std::vector<u32>& parameters) { | 18 | void MacroEngine::Execute(u32 method, const std::vector<u32>& parameters) { |
| 19 | auto compiled_macro = macro_cache.find(method); | 19 | auto compiled_macro = macro_cache.find(method); |
| 20 | if (compiled_macro != macro_cache.end()) { | 20 | if (compiled_macro != macro_cache.end()) { |
| 21 | compiled_macro->second->Execute(parameters, method); | 21 | compiled_macro->second->Execute(parameters, method); |