mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-07 09:52:47 +00:00
clang
This commit is contained in:
parent
0f336f6782
commit
c336c75ae5
@ -300,8 +300,8 @@ void SettingsDialog::LoadValuesFromConfig() {
|
|||||||
ui->discordRPCCheckbox->setChecked(
|
ui->discordRPCCheckbox->setChecked(
|
||||||
toml::find_or<bool>(data, "General", "enableDiscordRPC", true));
|
toml::find_or<bool>(data, "General", "enableDiscordRPC", true));
|
||||||
ui->fullscreenCheckBox->setChecked(toml::find_or<bool>(data, "General", "Fullscreen", false));
|
ui->fullscreenCheckBox->setChecked(toml::find_or<bool>(data, "General", "Fullscreen", false));
|
||||||
ui->fullscreenModeComboBox->setCurrentText(
|
ui->fullscreenModeComboBox->setCurrentText(QString::fromStdString(
|
||||||
QString::fromStdString(toml::find_or<std::string>(data, "General", "FullscreenMode", "Borderless")));
|
toml::find_or<std::string>(data, "General", "FullscreenMode", "Borderless")));
|
||||||
ui->separateUpdatesCheckBox->setChecked(
|
ui->separateUpdatesCheckBox->setChecked(
|
||||||
toml::find_or<bool>(data, "General", "separateUpdateEnabled", false));
|
toml::find_or<bool>(data, "General", "separateUpdateEnabled", false));
|
||||||
ui->showSplashCheckBox->setChecked(toml::find_or<bool>(data, "General", "showSplash", false));
|
ui->showSplashCheckBox->setChecked(toml::find_or<bool>(data, "General", "showSplash", false));
|
||||||
|
@ -104,7 +104,8 @@ WindowSDL::WindowSDL(s32 width_, s32 height_, Input::GameController* controller_
|
|||||||
error = true;
|
error = true;
|
||||||
}
|
}
|
||||||
if (!error) {
|
if (!error) {
|
||||||
SDL_SetWindowFullscreenMode(window, Config::getFullscreenMode() == "True" ? displayMode : NULL);
|
SDL_SetWindowFullscreenMode(window,
|
||||||
|
Config::getFullscreenMode() == "True" ? displayMode : NULL);
|
||||||
}
|
}
|
||||||
SDL_SetWindowFullscreen(window, Config::getIsFullscreen());
|
SDL_SetWindowFullscreen(window, Config::getIsFullscreen());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user