summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: