Skip to content

Commit

Permalink
front: Fixed unnavigable path preference
Browse files Browse the repository at this point in the history
On first install, if the user did not have the folder [sdcard]/roms/n64 on
their device, then they were unable to navigate the path preference to
select a ROM.
  • Loading branch information
paulscode committed Jan 17, 2013
1 parent 6a1982e commit 8b8ecce
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ protected Object onGetDefaultValue( TypedArray a, int index )
// Ensure the parent directories exist if requested
if( forceParentDirs )
( new File( value ) ).mkdirs();
else if( !new File( value ).exists() )
value = STORAGE_DIR;
}

return value;
Expand Down

0 comments on commit 8b8ecce

Please sign in to comment.