Merge pull request #13190 from tygyh/Move-to-inner-scope-DolphinQT

DolphinQT: Move variables to inner scope
This commit is contained in:
Jordan Woyak
2025-05-17 16:52:25 -05:00
committed by GitHub
2 changed files with 6 additions and 8 deletions

View File

@ -567,8 +567,8 @@ void CodeWidget::StepOut()
clock::time_point timeout = clock::now() + std::chrono::seconds(5);
auto& power_pc = m_system.GetPowerPC();
auto& ppc_state = power_pc.GetPPCState();
{
auto& ppc_state = power_pc.GetPPCState();
Core::CPUThreadGuard guard(m_system);
PowerPC::CoreMode old_mode = power_pc.GetMode();