aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/macro/macro_interpreter.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-06-24 09:01:00 -0400
committerGitHub <noreply@github.com>2020-06-24 09:01:00 -0400
commit32343d820d4551153c76e76a3e310e4e3db692e7 (patch)
treee74fa2ee58d499c4beed826732a8b4574b9c2a03 /src/video_core/macro/macro_interpreter.cpp
parentb66ccaa37615352a5a8b97e20ce6e6751d136b18 (diff)
parentf5e2aec4220ee2b72ec2986e0e60625897b2fd44 (diff)
Merge pull request #4046 from ogniK5377/macro-hle-prod
Add support for HLEing Macros
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);