summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-05-05 21:39:44 +0200
committerGitHub <noreply@github.com>2020-05-05 21:39:44 +0200
commiteb2c50c5e692e13608c1d354473c3b22277c687e (patch)
treebf931f7b29ba1c40d557f1fd792ce3e0e71643d4 /src/video_core
parentUpdate src/video_core/gpu.cpp (diff)
downloadyuzu-eb2c50c5e692e13608c1d354473c3b22277c687e.tar
yuzu-eb2c50c5e692e13608c1d354473c3b22277c687e.tar.gz
yuzu-eb2c50c5e692e13608c1d354473c3b22277c687e.tar.bz2
yuzu-eb2c50c5e692e13608c1d354473c3b22277c687e.tar.lz
yuzu-eb2c50c5e692e13608c1d354473c3b22277c687e.tar.xz
yuzu-eb2c50c5e692e13608c1d354473c3b22277c687e.tar.zst
yuzu-eb2c50c5e692e13608c1d354473c3b22277c687e.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/gpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index 9d6b97262..8eb017f65 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -349,7 +349,7 @@ void GPU::ProcessBindMethod(const MethodCall& method_call) {
// Bind the current subchannel to the desired engine id.
LOG_DEBUG(HW_GPU, "Binding subchannel {} to engine {}", method_call.subchannel,
method_call.argument);
- auto engine_id = static_cast<EngineID>(method_call.argument);
+ const auto engine_id = static_cast<EngineID>(method_call.argument);
bound_engines[method_call.subchannel] = static_cast<EngineID>(engine_id);
switch (engine_id) {
case EngineID::FERMI_TWOD_A: