diff options
| author | 2018-04-23 19:45:14 -0500 | |
|---|---|---|
| committer | 2018-04-25 11:53:54 -0500 | |
| commit | e2f2a49d2d0fd51ef83ef94fa2e93a2829d974e5 (patch) | |
| tree | 1552c7ef7c6f3909631e03869059f616c24705f6 /src | |
| parent | Merge pull request #394 from lioncash/video-core (diff) | |
| download | yuzu-e2f2a49d2d0fd51ef83ef94fa2e93a2829d974e5.tar.gz yuzu-e2f2a49d2d0fd51ef83ef94fa2e93a2829d974e5.tar.xz yuzu-e2f2a49d2d0fd51ef83ef94fa2e93a2829d974e5.zip | |
GPU: Corrected the upper bound of the PFIFO method ids in the command processor.
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/command_processor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp index f6a88f031..26792a2bf 100644 --- a/src/video_core/command_processor.cpp +++ b/src/video_core/command_processor.cpp | |||
| @@ -27,7 +27,7 @@ enum class BufferMethods { | |||
| 27 | SetGraphMacroCode = 0x45, | 27 | SetGraphMacroCode = 0x45, |
| 28 | SetGraphMacroCodeArg = 0x46, | 28 | SetGraphMacroCodeArg = 0x46, |
| 29 | SetGraphMacroEntry = 0x47, | 29 | SetGraphMacroEntry = 0x47, |
| 30 | CountBufferMethods = 0x100, | 30 | CountBufferMethods = 0x40, |
| 31 | }; | 31 | }; |
| 32 | 32 | ||
| 33 | void GPU::WriteReg(u32 method, u32 subchannel, u32 value, u32 remaining_params) { | 33 | void GPU::WriteReg(u32 method, u32 subchannel, u32 value, u32 remaining_params) { |