From ebb64d5bf4c6a1b3e89e7addbd72ca310be7807b Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 2 May 2021 22:14:15 -0400 Subject: core: Resolve misc cases of variable shadowing Resolves shadowing warnings that aren't in a particularly large subsection of core. Brings us closer to turning -Wshadow into an error. All that remains now is for cases in the kernel (left untouched for now since a big change by bunnei is pending), and a few left over in the service code (will be tackled next). --- src/core/cpu_manager.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/cpu_manager.h') diff --git a/src/core/cpu_manager.h b/src/core/cpu_manager.h index 17420c941..9817017c0 100644 --- a/src/core/cpu_manager.h +++ b/src/core/cpu_manager.h @@ -35,13 +35,13 @@ public: CpuManager& operator=(CpuManager&&) = delete; /// Sets if emulation is multicore or single core, must be set before Initialize - void SetMulticore(bool is_multicore) { - this->is_multicore = is_multicore; + void SetMulticore(bool is_multi) { + is_multicore = is_multi; } /// Sets if emulation is using an asynchronous GPU. - void SetAsyncGpu(bool is_async_gpu) { - this->is_async_gpu = is_async_gpu; + void SetAsyncGpu(bool is_async) { + is_async_gpu = is_async; } void Initialize(); -- cgit v1.2.3