aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/macro_interpreter.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-11-23 23:20:56 -0500
committerbunnei <bunneidev@gmail.com>2018-11-26 23:14:01 -0500
commitf8b215e3617c320bc7faf4f7ff4580eb87f65120 (patch)
tree65ba9fc6ff7609ea569ea1e3d05f91caa56ffa14 /src/video_core/macro_interpreter.cpp
parent46c950fe09643035cbd51bc5518a1dd4cc5a5da3 (diff)
gpu: Rewrite GPU command list processing with DmaPusher class.
- More accurate impl., fixes Undertale (among other games).
Diffstat (limited to 'src/video_core/macro_interpreter.cpp')
-rw-r--r--src/video_core/macro_interpreter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/macro_interpreter.cpp b/src/video_core/macro_interpreter.cpp
index 2b0dea5cd2..9c55e9f1e1 100644
--- a/src/video_core/macro_interpreter.cpp
+++ b/src/video_core/macro_interpreter.cpp
@@ -250,7 +250,7 @@ void MacroInterpreter::SetMethodAddress(u32 address) {
}
void MacroInterpreter::Send(u32 value) {
- maxwell3d.WriteReg(method_address.address, value, 0);
+ maxwell3d.CallMethod({method_address.address, value});
// Increment the method address by the method increment.
method_address.address.Assign(method_address.address.Value() +
method_address.increment.Value());