Merge pull request #5539 from 86Box/feature/global-config

Global config proof of concept
This commit is contained in:
Miran Grča
2025-08-07 20:31:44 +02:00
committed by GitHub
6 changed files with 143 additions and 95 deletions

View File

@@ -662,7 +662,7 @@ plat_chdir(char *path)
}
void
plat_get_global_config_dir(char *outbuf, const uint8_t len)
plat_get_global_config_dir(char *outbuf, const size_t len)
{
const auto dir = QDir(QStandardPaths::standardLocations(QStandardPaths::AppConfigLocation)[0]);
if (!dir.exists()) {
@@ -674,7 +674,7 @@ plat_get_global_config_dir(char *outbuf, const uint8_t len)
}
void
plat_get_global_data_dir(char *outbuf, const uint8_t len)
plat_get_global_data_dir(char *outbuf, const size_t len)
{
const auto dir = QDir(QStandardPaths::standardLocations(QStandardPaths::AppDataLocation)[0]);
if (!dir.exists()) {