diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2020-06-02 08:37:06 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2020-06-02 08:37:06 +0200 |
commit | 3a20e74f4056a03253e563510048e99ea548d5b4 (patch) | |
tree | ebdd756d53851ea51af7765824bfc327a83264e4 /src/video_core/macro/macro.h | |
parent | Favor switch case over jump table (diff) | |
download | yuzu-3a20e74f4056a03253e563510048e99ea548d5b4.tar yuzu-3a20e74f4056a03253e563510048e99ea548d5b4.tar.gz yuzu-3a20e74f4056a03253e563510048e99ea548d5b4.tar.bz2 yuzu-3a20e74f4056a03253e563510048e99ea548d5b4.tar.lz yuzu-3a20e74f4056a03253e563510048e99ea548d5b4.tar.xz yuzu-3a20e74f4056a03253e563510048e99ea548d5b4.tar.zst yuzu-3a20e74f4056a03253e563510048e99ea548d5b4.zip |
Diffstat (limited to 'src/video_core/macro/macro.h')
-rw-r--r-- | src/video_core/macro/macro.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/macro/macro.h b/src/video_core/macro/macro.h index 28ca243d1..49fc4d6bc 100644 --- a/src/video_core/macro/macro.h +++ b/src/video_core/macro/macro.h @@ -113,7 +113,7 @@ public: void AddCode(u32 method, u32 data); // Compiles the macro if its not in the cache, and executes the compiled macro - void Execute(u32 method, std::vector<u32> parameters); + void Execute(u32 method, std::vector<u32>& parameters); protected: virtual std::unique_ptr<CachedMacro> Compile(const std::vector<u32>& code) = 0; |