summaryrefslogtreecommitdiffstats
path: root/src/video_core/macro/macro_interpreter.cpp
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2020-06-04 17:42:19 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2020-06-24 04:09:01 +0200
commit6ce5f3120be6a65a798d3abc6fda0fe6171d0296 (patch)
treec63966fe5761248a4f48f4ccb4567b6213773fa4 /src/video_core/macro/macro_interpreter.cpp
parentMerge pull request #4138 from Morph1984/GyroscopeZeroDriftMode (diff)
downloadyuzu-6ce5f3120be6a65a798d3abc6fda0fe6171d0296.tar
yuzu-6ce5f3120be6a65a798d3abc6fda0fe6171d0296.tar.gz
yuzu-6ce5f3120be6a65a798d3abc6fda0fe6171d0296.tar.bz2
yuzu-6ce5f3120be6a65a798d3abc6fda0fe6171d0296.tar.lz
yuzu-6ce5f3120be6a65a798d3abc6fda0fe6171d0296.tar.xz
yuzu-6ce5f3120be6a65a798d3abc6fda0fe6171d0296.tar.zst
yuzu-6ce5f3120be6a65a798d3abc6fda0fe6171d0296.zip
Diffstat (limited to 'src/video_core/macro/macro_interpreter.cpp')
-rw-r--r--src/video_core/macro/macro_interpreter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/macro/macro_interpreter.cpp b/src/video_core/macro/macro_interpreter.cpp
index 5edff27aa..aa5256419 100644
--- a/src/video_core/macro/macro_interpreter.cpp
+++ b/src/video_core/macro/macro_interpreter.cpp
@@ -11,7 +11,8 @@
MICROPROFILE_DEFINE(MacroInterp, "GPU", "Execute macro interpreter", MP_RGB(128, 128, 192));
namespace Tegra {
-MacroInterpreter::MacroInterpreter(Engines::Maxwell3D& maxwell3d) : maxwell3d(maxwell3d) {}
+MacroInterpreter::MacroInterpreter(Engines::Maxwell3D& maxwell3d)
+ : MacroEngine::MacroEngine(maxwell3d), maxwell3d(maxwell3d) {}
std::unique_ptr<CachedMacro> MacroInterpreter::Compile(const std::vector<u32>& code) {
return std::make_unique<MacroInterpreterImpl>(maxwell3d, code);