aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/macro/macro_interpreter.cpp
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2020-06-05 01:42:19 +1000
committerDavid Marcec <dmarcecguzman@gmail.com>2020-06-24 12:09:01 +1000
commit6ce5f3120be6a65a798d3abc6fda0fe6171d0296 (patch)
treec63966fe5761248a4f48f4ccb4567b6213773fa4 /src/video_core/macro/macro_interpreter.cpp
parent3bab5a5e4a41402fa11f748bbcc92660e0fbaec9 (diff)
Macro HLE support
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);