mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-08 20:32:34 -07:00
Clang Format.
This commit is contained in:
@@ -71,7 +71,6 @@ void EmuThread::run() {
|
||||
|
||||
gpu.ReleaseContext();
|
||||
|
||||
|
||||
// Holds whether the cpu was running during the last iteration,
|
||||
// so that the DebugModeLeft signal can be emitted before the
|
||||
// next execution step
|
||||
|
@@ -62,7 +62,8 @@ public:
|
||||
if (!running) {
|
||||
running_wait.Set();
|
||||
/// Wait until effectively paused
|
||||
while (running_guard);
|
||||
while (running_guard)
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -127,11 +127,12 @@ std::vector<std::unique_ptr<WaitTreeItem>> WaitTreeCallstack::GetChildren() cons
|
||||
return list;
|
||||
}
|
||||
|
||||
auto backtrace = Core::ARM_Interface::GetBacktraceFromContext(Core::System::GetInstance(), thread.GetContext64());
|
||||
auto backtrace = Core::ARM_Interface::GetBacktraceFromContext(Core::System::GetInstance(),
|
||||
thread.GetContext64());
|
||||
|
||||
for (auto& entry : backtrace) {
|
||||
std::string s = fmt::format("{:20}{:016X} {:016X} {:016X} {}", entry.module, entry.address,
|
||||
entry.original_address, entry.offset, entry.name);
|
||||
entry.original_address, entry.offset, entry.name);
|
||||
list.push_back(std::make_unique<WaitTreeText>(QString::fromStdString(s)));
|
||||
}
|
||||
|
||||
|
@@ -534,7 +534,8 @@ void GMainWindow::InitializeWidgets() {
|
||||
if (emulation_running) {
|
||||
return;
|
||||
}
|
||||
bool is_async = !Settings::values.use_asynchronous_gpu_emulation || Settings::values.use_multi_core;
|
||||
bool is_async =
|
||||
!Settings::values.use_asynchronous_gpu_emulation || Settings::values.use_multi_core;
|
||||
Settings::values.use_asynchronous_gpu_emulation = is_async;
|
||||
async_status_button->setChecked(Settings::values.use_asynchronous_gpu_emulation);
|
||||
Settings::Apply();
|
||||
@@ -552,7 +553,8 @@ void GMainWindow::InitializeWidgets() {
|
||||
return;
|
||||
}
|
||||
Settings::values.use_multi_core = !Settings::values.use_multi_core;
|
||||
bool is_async = Settings::values.use_asynchronous_gpu_emulation || Settings::values.use_multi_core;
|
||||
bool is_async =
|
||||
Settings::values.use_asynchronous_gpu_emulation || Settings::values.use_multi_core;
|
||||
Settings::values.use_asynchronous_gpu_emulation = is_async;
|
||||
async_status_button->setChecked(Settings::values.use_asynchronous_gpu_emulation);
|
||||
multicore_status_button->setChecked(Settings::values.use_multi_core);
|
||||
@@ -1958,7 +1960,8 @@ void GMainWindow::OnConfigure() {
|
||||
|
||||
dock_status_button->setChecked(Settings::values.use_docked_mode);
|
||||
multicore_status_button->setChecked(Settings::values.use_multi_core);
|
||||
Settings::values.use_asynchronous_gpu_emulation = Settings::values.use_asynchronous_gpu_emulation || Settings::values.use_multi_core;
|
||||
Settings::values.use_asynchronous_gpu_emulation =
|
||||
Settings::values.use_asynchronous_gpu_emulation || Settings::values.use_multi_core;
|
||||
async_status_button->setChecked(Settings::values.use_asynchronous_gpu_emulation);
|
||||
|
||||
#ifdef HAS_VULKAN
|
||||
|
Reference in New Issue
Block a user