mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-27 04:25:12 +00:00
Wip implementation of isdevkit and neo mode to experimental tab.
This commit is contained in:
parent
99ccf56938
commit
7415be8576
@ -473,6 +473,10 @@ void setNeoMode(bool enable) {
|
|||||||
isNeo = enable;
|
isNeo = enable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void setDevKitMode(bool enable) {
|
||||||
|
isDevKit = enable;
|
||||||
|
}
|
||||||
|
|
||||||
void setLogType(const std::string& type) {
|
void setLogType(const std::string& type) {
|
||||||
logType = type;
|
logType = type;
|
||||||
}
|
}
|
||||||
|
@ -137,6 +137,8 @@ bool getVkGuestMarkersEnabled();
|
|||||||
void setVkCrashDiagnosticEnabled(bool enable);
|
void setVkCrashDiagnosticEnabled(bool enable);
|
||||||
void setVkHostMarkersEnabled(bool enable);
|
void setVkHostMarkersEnabled(bool enable);
|
||||||
void setVkGuestMarkersEnabled(bool enable);
|
void setVkGuestMarkersEnabled(bool enable);
|
||||||
|
void setNeoMode(bool enable);
|
||||||
|
void setDevKitMode(bool enable);
|
||||||
|
|
||||||
// Gui
|
// Gui
|
||||||
void setMainWindowGeometry(u32 x, u32 y, u32 w, u32 h);
|
void setMainWindowGeometry(u32 x, u32 y, u32 w, u32 h);
|
||||||
|
@ -389,6 +389,10 @@ SettingsDialog::SettingsDialog(std::shared_ptr<CompatibilityInfoClass> m_compat_
|
|||||||
ui->hostMarkersCheckBox->installEventFilter(this);
|
ui->hostMarkersCheckBox->installEventFilter(this);
|
||||||
ui->collectShaderCheckBox->installEventFilter(this);
|
ui->collectShaderCheckBox->installEventFilter(this);
|
||||||
ui->copyGPUBuffersCheckBox->installEventFilter(this);
|
ui->copyGPUBuffersCheckBox->installEventFilter(this);
|
||||||
|
|
||||||
|
//Experimental
|
||||||
|
ui->isDevKitCheckBox->setChecked(Config::isDevKitConsole());
|
||||||
|
ui->isNeoModeCheckBox->setChecked(Config::isNeoModeConsole());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -754,7 +758,8 @@ void SettingsDialog::UpdateSettings() {
|
|||||||
} else if (ui->radioButton_Bottom->isChecked()) {
|
} else if (ui->radioButton_Bottom->isChecked()) {
|
||||||
Config::setSideTrophy("bottom");
|
Config::setSideTrophy("bottom");
|
||||||
}
|
}
|
||||||
|
Config::setDevKitMode(ui->isDevKitCheckBox->isChecked());
|
||||||
|
Config::setNeoMode(ui->isNeoModeCheckBox->isChecked());
|
||||||
Config::setPlayBGM(ui->playBGMCheckBox->isChecked());
|
Config::setPlayBGM(ui->playBGMCheckBox->isChecked());
|
||||||
Config::setAllowHDR(ui->enableHDRCheckBox->isChecked());
|
Config::setAllowHDR(ui->enableHDRCheckBox->isChecked());
|
||||||
Config::setLogType(logTypeMap.value(ui->logTypeComboBox->currentText()).toStdString());
|
Config::setLogType(logTypeMap.value(ui->logTypeComboBox->currentText()).toStdString());
|
||||||
|
@ -2079,7 +2079,31 @@
|
|||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
<widget class="QWidget" name="experimentalTab">
|
||||||
|
<attribute name="title">
|
||||||
|
<string>Experimental
|
||||||
|
</string>
|
||||||
|
</attribute>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_experimental">
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="isDevKitCheckBox">
|
||||||
|
<property name="text">
|
||||||
|
<string>Enable DevKit Mode
|
||||||
|
</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="isNeoModeCheckBox">
|
||||||
|
<property name="text">
|
||||||
|
<string>Enable Neo Mode
|
||||||
|
</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QDialogButtonBox" name="buttonBox">
|
<widget class="QDialogButtonBox" name="buttonBox">
|
||||||
|
Loading…
Reference in New Issue
Block a user