From b873253da1b59bbfdac4a39590f20d887e16a9d7 Mon Sep 17 00:00:00 2001
From: Subv <subv2112@gmail.com>
Date: Mon, 3 Dec 2018 23:52:18 -0500
Subject: [PATCH] GPU: Don't try to route PFIFO methods (0-0x40) to the other
 engines.

---
 src/video_core/gpu.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index fd1242333c..88c45a4231 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -141,6 +141,12 @@ void GPU::CallMethod(const MethodCall& method_call) {
         return;
     }
 
+    if (method_call.method < static_cast<u32>(BufferMethods::CountBufferMethods)) {
+        // TODO(Subv): Research and implement these methods.
+        LOG_ERROR(HW_GPU, "Special buffer methods other than Bind are not implemented");
+        return;
+    }
+
     const EngineID engine = bound_engines[method_call.subchannel];
 
     switch (engine) {