summaryrefslogtreecommitdiffstats
path: root/src/video_core/macro/macro.h
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2020-06-02 08:37:06 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2020-06-02 08:37:06 +0200
commit3a20e74f4056a03253e563510048e99ea548d5b4 (patch)
treeebdd756d53851ea51af7765824bfc327a83264e4 /src/video_core/macro/macro.h
parentFavor switch case over jump table (diff)
downloadyuzu-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.h2
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;