summaryrefslogtreecommitdiffstats
path: root/src/video_core/macro/macro_interpreter.h
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2020-06-03 08:33:38 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2020-06-03 08:33:38 +0200
commit411f5527d41ba5c4f09b914b4fb4df0c6493f744 (patch)
treede34bb541a8d2fa4a3ff411dccb2aef8a5a24574 /src/video_core/macro/macro_interpreter.h
parentPass by reference instead of copying parameters (diff)
downloadyuzu-411f5527d41ba5c4f09b914b4fb4df0c6493f744.tar
yuzu-411f5527d41ba5c4f09b914b4fb4df0c6493f744.tar.gz
yuzu-411f5527d41ba5c4f09b914b4fb4df0c6493f744.tar.bz2
yuzu-411f5527d41ba5c4f09b914b4fb4df0c6493f744.tar.lz
yuzu-411f5527d41ba5c4f09b914b4fb4df0c6493f744.tar.xz
yuzu-411f5527d41ba5c4f09b914b4fb4df0c6493f744.tar.zst
yuzu-411f5527d41ba5c4f09b914b4fb4df0c6493f744.zip
Diffstat (limited to 'src/video_core/macro/macro_interpreter.h')
-rw-r--r--src/video_core/macro/macro_interpreter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/macro/macro_interpreter.h b/src/video_core/macro/macro_interpreter.h
index fb923f7b9..90217fc89 100644
--- a/src/video_core/macro/macro_interpreter.h
+++ b/src/video_core/macro/macro_interpreter.h
@@ -29,7 +29,7 @@ private:
class MacroInterpreterImpl : public CachedMacro {
public:
MacroInterpreterImpl(Engines::Maxwell3D& maxwell3d, const std::vector<u32>& code);
- void Execute(std::vector<u32>& parameters, u32 method) override;
+ void Execute(const std::vector<u32>& parameters, u32 method) override;
private:
/// Resets the execution engine state, zeroing registers, etc.