mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-06 17:32:40 +00:00
clang
This commit is contained in:
parent
0f336f6782
commit
c336c75ae5
@ -141,4 +141,4 @@ void setDefaultValues();
|
|||||||
|
|
||||||
// settings
|
// settings
|
||||||
u32 GetLanguage();
|
u32 GetLanguage();
|
||||||
}; // namespace Config
|
}; // namespace Config
|
||||||
|
@ -190,4 +190,4 @@ int main(int argc, char* argv[]) {
|
|||||||
// Show the main window and run the Qt application
|
// Show the main window and run the Qt application
|
||||||
m_main_window->show();
|
m_main_window->show();
|
||||||
return a.exec();
|
return a.exec();
|
||||||
}
|
}
|
||||||
|
@ -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