From f1b1f5c013502d2b9f24d15657d18af2c427c2d2 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Thu, 2 Feb 2023 15:46:48 -0800 Subject: [PATCH] IOS: Fix shadowing warnings --- Source/Core/Core/IOS/ES/ES.cpp | 6 +++--- Source/Core/Core/IOS/IOS.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/Core/Core/IOS/ES/ES.cpp b/Source/Core/Core/IOS/ES/ES.cpp index f11ad5d78e..9c823e9a4f 100644 --- a/Source/Core/Core/IOS/ES/ES.cpp +++ b/Source/Core/Core/IOS/ES/ES.cpp @@ -120,13 +120,13 @@ void ESDevice::InitializeEmulationState() auto& system = Core::System::GetInstance(); auto& core_timing = system.GetCoreTiming(); s_finish_init_event = core_timing.RegisterEvent( - "IOS-ESFinishInit", [](Core::System& system, u64, s64) { GetIOS()->GetES()->FinishInit(); }); + "IOS-ESFinishInit", [](Core::System& system_, u64, s64) { GetIOS()->GetES()->FinishInit(); }); s_reload_ios_for_ppc_launch_event = core_timing.RegisterEvent( - "IOS-ESReloadIOSForPPCLaunch", [](Core::System& system, u64 ios_id, s64) { + "IOS-ESReloadIOSForPPCLaunch", [](Core::System& system_, u64 ios_id, s64) { GetIOS()->GetES()->LaunchTitle(ios_id, HangPPC::Yes); }); s_bootstrap_ppc_for_launch_event = - core_timing.RegisterEvent("IOS-ESBootstrapPPCForLaunch", [](Core::System& system, u64, s64) { + core_timing.RegisterEvent("IOS-ESBootstrapPPCForLaunch", [](Core::System& system_, u64, s64) { GetIOS()->GetES()->BootstrapPPC(); }); } diff --git a/Source/Core/Core/IOS/IOS.cpp b/Source/Core/Core/IOS/IOS.cpp index b98aac1a51..cfe5faa607 100644 --- a/Source/Core/Core/IOS/IOS.cpp +++ b/Source/Core/Core/IOS/IOS.cpp @@ -922,7 +922,7 @@ void Init() auto& core_timing = system.GetCoreTiming(); s_event_enqueue = - core_timing.RegisterEvent("IPCEvent", [](Core::System& system, u64 userdata, s64) { + core_timing.RegisterEvent("IPCEvent", [](Core::System& system_, u64 userdata, s64) { if (s_ios) s_ios->HandleIPCEvent(userdata); }); @@ -933,7 +933,7 @@ void Init() core_timing.RegisterEvent("IOSFinishPPCBootstrap", FinishPPCBootstrap); s_event_finish_ios_boot = - core_timing.RegisterEvent("IOSFinishIOSBoot", [](Core::System& system, u64 ios_title_id, + core_timing.RegisterEvent("IOSFinishIOSBoot", [](Core::System& system_, u64 ios_title_id, s64) { FinishIOSBoot(ios_title_id); }); DIDevice::s_finish_executing_di_command =