mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
Android: Include empty folders when exporting user data
I think users will have a hard time figuring out where to place texture packs and Riivolution mods and so on without this.
This commit is contained in:
parent
d3742c1555
commit
e97fd2f19d
1 changed files with 4 additions and 0 deletions
|
@ -320,6 +320,10 @@ public class UserDataActivity extends AppCompatActivity
|
||||||
{
|
{
|
||||||
exportUserData(zos, child, new File(pathRelativeToRoot, child.getName()));
|
exportUserData(zos, child, new File(pathRelativeToRoot, child.getName()));
|
||||||
}
|
}
|
||||||
|
if (children.length == 0 && pathRelativeToRoot != null)
|
||||||
|
{
|
||||||
|
zos.putNextEntry(new ZipEntry(pathRelativeToRoot.getPath() + '/'));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue