Skip to content

Commit

Permalink
Add an additional check to prevent crashes while exiting.
Browse files Browse the repository at this point in the history
  • Loading branch information
joel16 committed Nov 15, 2016
1 parent d97d918 commit ccc5f21
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/screenshot.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,9 @@ int screenshotConfig(int data)

void captureScreenshot()
{
if (!(dirExists("/3ds/")))
makeDir("/3ds");

if (!(dirExists("/3ds/3DSident")))
makeDir("/3ds/3DSident");

Expand Down

0 comments on commit ccc5f21

Please sign in to comment.