1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-22 20:47:45 +00:00

Fix up GameRunner::addRegistryKey comments

This commit is contained in:
Joshua Goins 2023-10-11 14:33:22 -04:00
parent 42d817a47c
commit 7ad09f6fcf

View file

@ -28,6 +28,11 @@ private:
/// This wraps it in wine if needed. /// This wraps it in wine if needed.
void launchExecutable(const Profile &settings, QProcess *process, const QStringList &args, bool isGame, bool needsRegistrySetup); void launchExecutable(const Profile &settings, QProcess *process, const QStringList &args, bool isGame, bool needsRegistrySetup);
/// Set a Wine registry key
/// \param settings The profile that's being launched
/// \param key The path to the registry key, such as HKEY_CURRENT_USER\\Software\\Wine
/// \param value The registry key name, like "HideWineExports"
/// \param data What to set the value as, like "1" or "0"
void addRegistryKey(const Profile &settings, QString key, QString value, QString data); void addRegistryKey(const Profile &settings, QString key, QString value, QString data);
LauncherCore &m_launcher; LauncherCore &m_launcher;