diff options
author | bunnei <bunneidev@gmail.com> | 2020-12-05 09:48:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-05 09:48:08 +0100 |
commit | e6a896c4bdf9cc47c2002c115c9ff280e540fd1b (patch) | |
tree | e5cd397cb3a11f1529f38ed8fa0a0185d07becaa /src/video_core/macro/macro_interpreter.h | |
parent | Merge pull request #5127 from FearlessTobi/port-5617 (diff) | |
parent | video_core: Resolve more variable shadowing scenarios (diff) | |
download | yuzu-e6a896c4bdf9cc47c2002c115c9ff280e540fd1b.tar yuzu-e6a896c4bdf9cc47c2002c115c9ff280e540fd1b.tar.gz yuzu-e6a896c4bdf9cc47c2002c115c9ff280e540fd1b.tar.bz2 yuzu-e6a896c4bdf9cc47c2002c115c9ff280e540fd1b.tar.lz yuzu-e6a896c4bdf9cc47c2002c115c9ff280e540fd1b.tar.xz yuzu-e6a896c4bdf9cc47c2002c115c9ff280e540fd1b.tar.zst yuzu-e6a896c4bdf9cc47c2002c115c9ff280e540fd1b.zip |
Diffstat (limited to 'src/video_core/macro/macro_interpreter.h')
-rw-r--r-- | src/video_core/macro/macro_interpreter.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/video_core/macro/macro_interpreter.h b/src/video_core/macro/macro_interpreter.h index 90217fc89..d50c619ce 100644 --- a/src/video_core/macro/macro_interpreter.h +++ b/src/video_core/macro/macro_interpreter.h @@ -17,7 +17,7 @@ class Maxwell3D; class MacroInterpreter final : public MacroEngine { public: - explicit MacroInterpreter(Engines::Maxwell3D& maxwell3d); + explicit MacroInterpreter(Engines::Maxwell3D& maxwell3d_); protected: std::unique_ptr<CachedMacro> Compile(const std::vector<u32>& code) override; @@ -28,8 +28,8 @@ private: class MacroInterpreterImpl : public CachedMacro { public: - MacroInterpreterImpl(Engines::Maxwell3D& maxwell3d, const std::vector<u32>& code); - void Execute(const std::vector<u32>& parameters, u32 method) override; + explicit MacroInterpreterImpl(Engines::Maxwell3D& maxwell3d_, const std::vector<u32>& code_); + void Execute(const std::vector<u32>& params, u32 method) override; private: /// Resets the execution engine state, zeroing registers, etc. @@ -38,9 +38,9 @@ private: /** * Executes a single macro instruction located at the current program counter. Returns whether * the interpreter should keep running. - * @param offset Offset to start execution at. + * * @param is_delay_slot Whether the current step is being executed due to a delay slot in a - * previous instruction. + * previous instruction. */ bool Step(bool is_delay_slot); |