Move variables to inner scope

This commit is contained in:
tygyh
2024-11-15 09:15:06 +01:00
committed by Dr. Dystopia
parent 18979129f3
commit 1ecd6fbc9b
2 changed files with 6 additions and 8 deletions

View File

@ -543,8 +543,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();