aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/engines/kepler_memory.h
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
commitabea6fa90c901d0b47487ed38d44511b18f0addf (patch)
tree65ba9fc6ff7609ea569ea1e3d05f91caa56ffa14 /src/video_core/engines/kepler_memory.h
parent852a462df3b8629791ae982dfe6c54fb6a5fcc5e (diff)
gpu: Rewrite GPU command list processing with DmaPusher class.
- More accurate impl., fixes Undertale (among other games).
Diffstat (limited to 'src/video_core/engines/kepler_memory.h')
-rw-r--r--src/video_core/engines/kepler_memory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/engines/kepler_memory.h b/src/video_core/engines/kepler_memory.h
index bf4a13cff..fe9ebc5b9 100644
--- a/src/video_core/engines/kepler_memory.h
+++ b/src/video_core/engines/kepler_memory.h
@@ -9,6 +9,7 @@
#include "common/bit_field.h"
#include "common/common_funcs.h"
#include "common/common_types.h"
+#include "video_core/gpu.h"
#include "video_core/memory_manager.h"
namespace VideoCore {
@@ -26,7 +27,7 @@ public:
~KeplerMemory();
/// Write the value to the register identified by method.
- void WriteReg(u32 method, u32 value);
+ void CallMethod(const GPU::MethodCall& method_call);
struct Regs {
static constexpr size_t NUM_REGS = 0x7F;