summaryrefslogtreecommitdiff
path: root/src/core/cpu_manager.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-05-03 16:04:28 -0700
committerGitHub <noreply@github.com>2021-05-03 16:04:28 -0700
commitdf51eb9bdec5be189e0662ab81bc29277f3da343 (patch)
treedc1a5cf937fe77ccabb8dab97b5e9a5af9758c27 /src/core/cpu_manager.h
parent898aa5fb6612e8c009fa65224ef9ea404448db59 (diff)
parentebb64d5bf4c6a1b3e89e7addbd72ca310be7807b (diff)
Merge pull request #6278 from lioncash/misc-shadow
core: Resolve misc straggler cases of variable shadowing
Diffstat (limited to 'src/core/cpu_manager.h')
-rw-r--r--src/core/cpu_manager.h8
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:
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();