mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-09-19 12:37:59 -05:00
Merge branch 'dev' into dev
This commit is contained in:
@@ -73,6 +73,7 @@ void ConfigureDebug::SetConfiguration() {
|
||||
ui->disable_loop_safety_checks->setChecked(
|
||||
Settings::values.disable_shader_loop_safety_checks.GetValue());
|
||||
ui->extended_logging->setChecked(Settings::values.extended_logging.GetValue());
|
||||
ui->log_async->setChecked(Settings::values.log_async.GetValue());
|
||||
ui->perform_vulkan_check->setChecked(Settings::values.perform_vulkan_check.GetValue());
|
||||
|
||||
#ifdef SUYU_USE_QT_WEB_ENGINE
|
||||
@@ -115,6 +116,7 @@ void ConfigureDebug::ApplyConfiguration() {
|
||||
Common::Log::Filter filter;
|
||||
filter.ParseFilterString(Settings::values.log_filter.GetValue());
|
||||
Common::Log::SetGlobalFilter(filter);
|
||||
Settings::values.log_async = ui->log_async->isChecked();
|
||||
}
|
||||
|
||||
void ConfigureDebug::changeEvent(QEvent* event) {
|
||||
|
@@ -164,6 +164,20 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QCheckBox" name="log_async">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>When checked, logging will run asynchronously. This may cut the log on crashes.
|
||||
When unchecked, logging will run synchronously. This will slow down the emulator, but allow all logs to be written. Useful for debugging.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Log asynchronously</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0" colspan="2">
|
||||
<widget class="QWidget" name="logging_widget" native="true">
|
||||
<property name="sizePolicy">
|
||||
@@ -199,7 +213,14 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="log_filter_edit"/>
|
||||
<widget class="QLineEdit" name="log_filter_edit">
|
||||
<property name="toolTip">
|
||||
<string>Log filter in the form <class>:<level>.
|
||||
Separate multiple filters with a space.
|
||||
Levels: Trace, Debug, Info, Warning, Error, Critical
|
||||
Classes: See Common/logging/types.h</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
|
Reference in New Issue
Block a user