summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2020-05-05 15:39:44 -0400
committerGravatar GitHub2020-05-05 15:39:44 -0400
commiteb2c50c5e692e13608c1d354473c3b22277c687e (patch)
treebf931f7b29ba1c40d557f1fd792ce3e0e71643d4
parentUpdate src/video_core/gpu.cpp (diff)
downloadyuzu-eb2c50c5e692e13608c1d354473c3b22277c687e.tar.gz
yuzu-eb2c50c5e692e13608c1d354473c3b22277c687e.tar.xz
yuzu-eb2c50c5e692e13608c1d354473c3b22277c687e.zip
Update src/video_core/gpu.cpp
Co-authored-by: David <25727384+ogniK5377@users.noreply.github.com>
Diffstat (limited to '')
-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) {
349 // Bind the current subchannel to the desired engine id. 349 // Bind the current subchannel to the desired engine id.
350 LOG_DEBUG(HW_GPU, "Binding subchannel {} to engine {}", method_call.subchannel, 350 LOG_DEBUG(HW_GPU, "Binding subchannel {} to engine {}", method_call.subchannel,
351 method_call.argument); 351 method_call.argument);
352 auto engine_id = static_cast<EngineID>(method_call.argument); 352 const auto engine_id = static_cast<EngineID>(method_call.argument);
353 bound_engines[method_call.subchannel] = static_cast<EngineID>(engine_id); 353 bound_engines[method_call.subchannel] = static_cast<EngineID>(engine_id);
354 switch (engine_id) { 354 switch (engine_id) {
355 case EngineID::FERMI_TWOD_A: 355 case EngineID::FERMI_TWOD_A: