Skip to content

Commit

Permalink
Fix last fix
Browse files Browse the repository at this point in the history
  • Loading branch information
piepie62 committed Apr 4, 2024
1 parent aca2266 commit e064926
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 3ds/source/gui/screen/BagScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -622,8 +622,7 @@ std::span<const int> BagScreen::itemsForPouch(pksm::Sav::Pouch pouch) const

if (found->second.size() > 1000 || found->second.size() == 0) {
// Should a match fail to be found, we don't want the app freaking out, so return an empty array.
std::array<int, 0UL> catchArr = {};
return std::span{catchArr};
return {};
}

return found->second;
Expand Down

0 comments on commit e064926

Please sign in to comment.