From dc4645d2556f6edc76021277fed7edcb5b6adfdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Vanda=C3=ABle?= Date: Sun, 8 Feb 2026 15:25:16 +0100 Subject: [PATCH] SI_DeviceAMBaseboard: Shadowed variable "command" --- Source/Core/Core/HW/SI/SI_DeviceAMBaseboard.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/Core/HW/SI/SI_DeviceAMBaseboard.cpp b/Source/Core/Core/HW/SI/SI_DeviceAMBaseboard.cpp index b2a65c10a3..7cc5d93c01 100644 --- a/Source/Core/Core/HW/SI/SI_DeviceAMBaseboard.cpp +++ b/Source/Core/Core/HW/SI/SI_DeviceAMBaseboard.cpp @@ -207,10 +207,10 @@ int CSIDevice_AMBaseboard::RunBuffer(u8* buffer, int request_length) u32 buffer_position = 0; while (buffer_position < buffer_length) { - BaseBoardCommand command = static_cast(buffer[buffer_position]); + const auto bb_command = static_cast(buffer[buffer_position]); buffer_position++; - switch (command) + switch (bb_command) { case BaseBoardCommand::GCAM_Reset: // Returns ID and dip switches { @@ -2523,7 +2523,7 @@ int CSIDevice_AMBaseboard::RunBuffer(u8* buffer, int request_length) } default: { - ERROR_LOG_FMT(SERIALINTERFACE, "Unknown SI command (0x{:08x})", (u32)command); + ERROR_LOG_FMT(SERIALINTERFACE, "Unknown SI command (0x{:08x})", (u32)bb_command); PanicAlertFmt("SI: Unknown command"); buffer_position = buffer_length; }