Skip to content

Commit

Permalink
How the HELL did this happen?
Browse files Browse the repository at this point in the history
  • Loading branch information
piepie62 committed Jan 22, 2020
1 parent 5aa89a1 commit b9ca4f4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions 3ds/source/gui/screen/CloudScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include "Configuration.hpp"
#include "FSStream.hpp"
#include "FilterScreen.hpp"
#include "GroupCloudScreen.hpp"
#include "PK7.hpp"
#include "PKFilter.hpp"
#include "QRScanner.hpp"
Expand Down Expand Up @@ -402,8 +403,10 @@ void CloudScreen::update(touchPosition* touch)

if (kDown & KEY_Y)
{
saveChosen = !saveChosen;
storageBox = 0;
std::unique_ptr<Screen> screen = std::make_unique<GroupCloudScreen>(storageBox, filter);
Gui::screenBack();
Gui::setScreen(std::move(screen));
return;
}

for (auto& button : mainButtons)
Expand Down

0 comments on commit b9ca4f4

Please sign in to comment.