Skip to content

Commit

Permalink
Merge pull request #291 from designgears/master
Browse files Browse the repository at this point in the history
Update for atmos 0.10.0 titles -> contents change
  • Loading branch information
Bernardo Giordano committed Dec 8, 2019
2 parents 27627da + 10b1794 commit c619309
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion switch/source/CheatManagerOverlay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down
2 changes: 1 addition & 1 deletion switch/source/cheatmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c619309

Please sign in to comment.