shadps4-qtlauncher: 224 -> 0-unstable-2026-06-07

This commit is contained in:
Ryan Omasta
2026-06-02 04:36:52 -06:00
parent d0c62a851d
commit 78d24e40e8
2 changed files with 13 additions and 11 deletions
@@ -1,6 +1,6 @@
{
lib,
stdenv,
clangStdenv,
fetchFromGitHub,
cmake,
@@ -13,15 +13,15 @@
shadps4,
}:
stdenv.mkDerivation (finalAttrs: {
clangStdenv.mkDerivation (finalAttrs: {
pname = "shadps4-qtlauncher";
version = "224";
version = "0-unstable-2026-06-07";
src = fetchFromGitHub {
owner = "shadps4-emu";
repo = "shadps4-qtlauncher";
tag = "v${finalAttrs.version}";
hash = "sha256-lRZH9fokUKN/n3m/ZkTsRHwkwZZ04buvqBMXYLrqqLE=";
rev = "eadffe744d6f2bb7b21aedeef2cc0f66cdffd6ed";
hash = "sha256-tlCP8Cu3UVoclaQ0cIVr89q7wwgkzFVwhMSqpVB6FnM=";
postCheckout = ''
cd "$out"
@@ -31,7 +31,9 @@ stdenv.mkDerivation (finalAttrs: {
git -C externals submodule update --init --recursive \
volk \
json
json \
openal-soft \
spdlog
'';
};
@@ -2,7 +2,7 @@ diff --git a/src/qt_gui/game_install_dialog.cpp b/src/qt_gui/game_install_dialog
index 8a9b94d..919d4a5 100644
--- a/src/qt_gui/game_install_dialog.cpp
+++ b/src/qt_gui/game_install_dialog.cpp
@@ -144,7 +144,9 @@ void GameInstallDialog::Save() {
@@ -148,7 +148,9 @@ void GameInstallDialog::Save() {
// Check games directory.
auto gamesDirectory = m_gamesDirectory->text();
auto addonsDirectory = m_addonsDirectory->text();
@@ -12,7 +12,7 @@ index 8a9b94d..919d4a5 100644
if (gamesDirectory.isEmpty() || !QDir(gamesDirectory).exists() ||
!QDir::isAbsolutePath(gamesDirectory)) {
@@ -167,6 +169,7 @@ void GameInstallDialog::Save() {
@@ -171,6 +171,7 @@ void GameInstallDialog::Save() {
}
}
@@ -20,15 +20,15 @@ index 8a9b94d..919d4a5 100644
if (versionDirectory.isEmpty() || !QDir::isAbsolutePath(versionDirectory)) {
QMessageBox::critical(this, tr("Error"),
"The value for location to install emulator versions is not valid.");
@@ -181,11 +184,14 @@ void GameInstallDialog::Save() {
@@ -185,11 +188,14 @@ void GameInstallDialog::Save() {
return;
}
}
+#endif
// Save the directories
Config::addGameInstallDir(Common::FS::PathFromQString(gamesDirectory));
Config::setAddonInstallDir(Common::FS::PathFromQString(addonsDirectory));
EmulatorSettings.AddGameInstallDir(Common::FS::PathFromQString(gamesDirectory));
EmulatorSettings.SetAddonInstallDir(Common::FS::PathFromQString(addonsDirectory));
+#ifndef HIDE_VERSION_MANAGER
m_gui_settings->SetValue(gui::vm_versionPath, versionDirectory);
+#endif