From e2f2a49d2d0fd51ef83ef94fa2e93a2829d974e5 Mon Sep 17 00:00:00 2001
From: Subv <subv2112@gmail.com>
Date: Mon, 23 Apr 2018 19:45:14 -0500
Subject: [PATCH] GPU: Corrected the upper bound of the PFIFO method ids in the
 command processor.

---
 src/video_core/command_processor.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp
index f6a88f031b..26792a2bf0 100644
--- a/src/video_core/command_processor.cpp
+++ b/src/video_core/command_processor.cpp
@@ -27,7 +27,7 @@ enum class BufferMethods {
     SetGraphMacroCode = 0x45,
     SetGraphMacroCodeArg = 0x46,
     SetGraphMacroEntry = 0x47,
-    CountBufferMethods = 0x100,
+    CountBufferMethods = 0x40,
 };
 
 void GPU::WriteReg(u32 method, u32 subchannel, u32 value, u32 remaining_params) {
-- 
GitLab