diff options
author | Subv <subv2112@gmail.com> | 2018-12-04 05:52:18 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-12-04 05:52:18 +0100 |
commit | b873253da1b59bbfdac4a39590f20d887e16a9d7 (patch) | |
tree | 31ae76612c951dcf99bd15c47f27009197e2eda6 | |
parent | Fix debug build (diff) | |
download | yuzu-b873253da1b59bbfdac4a39590f20d887e16a9d7.tar yuzu-b873253da1b59bbfdac4a39590f20d887e16a9d7.tar.gz yuzu-b873253da1b59bbfdac4a39590f20d887e16a9d7.tar.bz2 yuzu-b873253da1b59bbfdac4a39590f20d887e16a9d7.tar.lz yuzu-b873253da1b59bbfdac4a39590f20d887e16a9d7.tar.xz yuzu-b873253da1b59bbfdac4a39590f20d887e16a9d7.tar.zst yuzu-b873253da1b59bbfdac4a39590f20d887e16a9d7.zip |
-rw-r--r-- | src/video_core/gpu.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index fd1242333..88c45a423 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) { |