diff options
| author | 2021-05-02 22:14:15 -0400 | |
|---|---|---|
| committer | 2021-05-03 01:19:13 -0400 | |
| commit | ebb64d5bf4c6a1b3e89e7addbd72ca310be7807b (patch) | |
| tree | 024cebd87e461cc8212810576b0e759321911f1f /src/core/cpu_manager.h | |
| parent | Merge pull request #6269 from lioncash/file-shadow (diff) | |
| download | yuzu-ebb64d5bf4c6a1b3e89e7addbd72ca310be7807b.tar.gz yuzu-ebb64d5bf4c6a1b3e89e7addbd72ca310be7807b.tar.xz yuzu-ebb64d5bf4c6a1b3e89e7addbd72ca310be7807b.zip | |
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).
Diffstat (limited to 'src/core/cpu_manager.h')
| -rw-r--r-- | src/core/cpu_manager.h | 8 |
1 files changed, 4 insertions, 4 deletions
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: | |||
| 35 | CpuManager& operator=(CpuManager&&) = delete; | 35 | CpuManager& operator=(CpuManager&&) = delete; |
| 36 | 36 | ||
| 37 | /// Sets if emulation is multicore or single core, must be set before Initialize | 37 | /// Sets if emulation is multicore or single core, must be set before Initialize |
| 38 | void SetMulticore(bool is_multicore) { | 38 | void SetMulticore(bool is_multi) { |
| 39 | this->is_multicore = is_multicore; | 39 | is_multicore = is_multi; |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | /// Sets if emulation is using an asynchronous GPU. | 42 | /// Sets if emulation is using an asynchronous GPU. |
| 43 | void SetAsyncGpu(bool is_async_gpu) { | 43 | void SetAsyncGpu(bool is_async) { |
| 44 | this->is_async_gpu = is_async_gpu; | 44 | is_async_gpu = is_async; |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | void Initialize(); | 47 | void Initialize(); |