yuzu: Eliminate variable shadowing

This commit is contained in:
Morph
2022-05-26 19:57:35 -04:00
parent 12156b199a
commit b3d6f7bdd8
10 changed files with 25 additions and 25 deletions

View File

@ -56,12 +56,12 @@ public:
/**
* Sets whether the emulation thread is running or not
* @param running Boolean value, set the emulation thread to running if true
* @param running_ Boolean value, set the emulation thread to running if true
* @note This function is thread-safe
*/
void SetRunning(bool running) {
void SetRunning(bool running_) {
std::unique_lock lock{running_mutex};
this->running = running;
running = running_;
lock.unlock();
running_cv.notify_all();
if (!running) {
@ -138,8 +138,8 @@ public:
void BackupGeometry();
void RestoreGeometry();
void restoreGeometry(const QByteArray& geometry); // overridden
QByteArray saveGeometry(); // overridden
void restoreGeometry(const QByteArray& geometry_); // overridden
QByteArray saveGeometry(); // overridden
qreal windowPixelRatio() const;
@ -189,7 +189,7 @@ public:
void Exit();
public slots:
void OnEmulationStarting(EmuThread* emu_thread);
void OnEmulationStarting(EmuThread* emu_thread_);
void OnEmulationStopping();
void OnFramebufferSizeChanged();