diff options
author | bunnei <bunneidev@gmail.com> | 2018-11-24 05:20:56 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-11-27 05:14:01 +0100 |
commit | abea6fa90c901d0b47487ed38d44511b18f0addf (patch) | |
tree | 65ba9fc6ff7609ea569ea1e3d05f91caa56ffa14 /src/video_core/macro_interpreter.cpp | |
parent | Merge pull request #1805 from lioncash/resource (diff) | |
download | yuzu-abea6fa90c901d0b47487ed38d44511b18f0addf.tar yuzu-abea6fa90c901d0b47487ed38d44511b18f0addf.tar.gz yuzu-abea6fa90c901d0b47487ed38d44511b18f0addf.tar.bz2 yuzu-abea6fa90c901d0b47487ed38d44511b18f0addf.tar.lz yuzu-abea6fa90c901d0b47487ed38d44511b18f0addf.tar.xz yuzu-abea6fa90c901d0b47487ed38d44511b18f0addf.tar.zst yuzu-abea6fa90c901d0b47487ed38d44511b18f0addf.zip |
Diffstat (limited to 'src/video_core/macro_interpreter.cpp')
-rw-r--r-- | src/video_core/macro_interpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/macro_interpreter.cpp b/src/video_core/macro_interpreter.cpp index 2b0dea5cd..9c55e9f1e 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()); |