early-access version 3463
This commit is contained in:
parent
6cb085031d
commit
d76548b8a5
3 changed files with 7 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
yuzu emulator early access
|
||||
=============
|
||||
|
||||
This is the source code for early-access 3462.
|
||||
This is the source code for early-access 3463.
|
||||
|
||||
## Legal Notice
|
||||
|
||||
|
|
|
@ -9,10 +9,11 @@
|
|||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <new>
|
||||
#include <stop_token>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
#include "common/polyfill_thread.h"
|
||||
|
||||
namespace Common {
|
||||
|
||||
#if defined(__cpp_lib_hardware_interference_size)
|
||||
|
@ -78,7 +79,7 @@ public:
|
|||
auto& slot = slots[idx(tail)];
|
||||
if (!slot.turn.test()) {
|
||||
std::unique_lock lock{cv_mutex};
|
||||
cv.wait(lock, stop, [&slot] { return slot.turn.test(); });
|
||||
Common::CondvarWait(cv, lock, stop, [&slot] { return slot.turn.test(); });
|
||||
}
|
||||
v = slot.move();
|
||||
slot.destroy();
|
||||
|
|
|
@ -189,6 +189,8 @@ QList<QWidget*> ConfigureInput::GetSubTabs() const {
|
|||
}
|
||||
|
||||
void ConfigureInput::ApplyConfiguration() {
|
||||
const bool was_global = Settings::values.players.UsingGlobal();
|
||||
Settings::values.players.SetGlobal(true);
|
||||
for (auto* controller : player_controllers) {
|
||||
controller->ApplyConfiguration();
|
||||
}
|
||||
|
@ -201,6 +203,7 @@ void ConfigureInput::ApplyConfiguration() {
|
|||
|
||||
Settings::values.vibration_enabled.SetValue(ui->vibrationGroup->isChecked());
|
||||
Settings::values.motion_enabled.SetValue(ui->motionGroup->isChecked());
|
||||
Settings::values.players.SetGlobal(was_global);
|
||||
}
|
||||
|
||||
void ConfigureInput::changeEvent(QEvent* event) {
|
||||
|
|
Loading…
Reference in a new issue