Merge pull request #291 from designgears/master

Update for atmos 0.10.0 titles -> contents change
This commit is contained in:
Bernardo Giordano 2019-12-08 20:24:27 +01:00 committed by GitHub
commit c61930963f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ CheatManagerOverlay::CheatManagerOverlay(Screen& screen, const std::string& mkey
multiSelected = false;
std::string existingCheat = "";
std::string root = StringUtils::format("/atmosphere/titles/%s/cheats", key.c_str());
std::string root = StringUtils::format("/atmosphere/contents/%s/cheats", key.c_str());
Directory dir(root);
if (dir.good()) {
for (size_t i = 0; i < dir.size(); i++) {

View file

@ -77,7 +77,7 @@ void CheatManager::save(const std::string& key, const std::vector<std::string>&
{
static size_t MAGIC_LEN = strlen(SELECTED_MAGIC);
std::string idfolder = StringUtils::format("/atmosphere/titles/%s", key.c_str());
std::string idfolder = StringUtils::format("/atmosphere/contents/%s", key.c_str());
std::string rootfolder = idfolder + "/cheats";
mkdir(idfolder.c_str(), 777);
mkdir(rootfolder.c_str(), 777);