mirror of
https://github.com/HamletDuFromage/aio-switch-updater.git
synced 2024-11-24 18:42:05 +00:00
small fix
This commit is contained in:
parent
69c831a901
commit
72ae144a79
2 changed files with 5 additions and 3 deletions
|
@ -42,7 +42,7 @@
|
|||
"gbatemp_dl_successful_dl": "Successfully downloaded the following cheat code:\n{}",
|
||||
"applet_mode_not_supported": "Due to memory constraints, in applet mode you may only fetch cheat codes for the game you're currently playing. Please launch aio-switch-updater through title redirection to download cheat codes for any game you own.",
|
||||
"cheatfile_label": "Here are the cheat codes listed in file {}",
|
||||
"not_found": "Not proper cheat codes could be found for this game"
|
||||
"not_found": "No proper cheat codes could be found for this game"
|
||||
},
|
||||
"common": {
|
||||
"downloading": "Downloading...",
|
||||
|
|
|
@ -325,8 +325,10 @@ void AppPage_DownloadedCheats::ShowCheatFiles(u64 tid, const std::string& name)
|
|||
|
||||
brls::TabFrame* appView = new brls::TabFrame();
|
||||
bool is_populated = false;
|
||||
for(const auto& cheatFile : std::filesystem::directory_iterator(path)){
|
||||
is_populated |= CreateCheatList(cheatFile.path(), &appView);
|
||||
if(std::filesystem::exists(path)) {
|
||||
for(const auto& cheatFile : std::filesystem::directory_iterator(path)){
|
||||
is_populated |= CreateCheatList(cheatFile.path(), &appView);
|
||||
}
|
||||
}
|
||||
if(is_populated) {
|
||||
brls::PopupFrame::open(name, appView, "");
|
||||
|
|
Loading…
Reference in a new issue