mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator
synced 2025-07-08 07:22:17 +08:00
Add support for setting app/DLC paths.
This commit is contained in:
@ -184,3 +184,13 @@ bool Settings::getDLC(unsigned int index, AppId_t &appID, bool &available, std::
|
||||
name = DLCs[index].name;
|
||||
return true;
|
||||
}
|
||||
|
||||
void Settings::setAppInstallPath(AppId_t appID, std::string path)
|
||||
{
|
||||
app_paths[appID] = path;
|
||||
}
|
||||
|
||||
std::string Settings::getAppInstallPath(AppId_t appID)
|
||||
{
|
||||
return app_paths[appID];
|
||||
}
|
||||
|
Reference in New Issue
Block a user