diff --git a/src/pandroid/app/src/main/java/com/panda3ds/pandroid/utils/ZipBuilder.java b/src/pandroid/app/src/main/java/com/panda3ds/pandroid/utils/ZipBuilder.java index 760e32f93..604569621 100644 --- a/src/pandroid/app/src/main/java/com/panda3ds/pandroid/utils/ZipBuilder.java +++ b/src/pandroid/app/src/main/java/com/panda3ds/pandroid/utils/ZipBuilder.java @@ -45,7 +45,7 @@ private void append(String path, String parent) throws Exception { byte[] buffer = new byte[1024 * 64]; int len; while ((len = input.read(buffer)) != -1) { - output.write(buffer, 0, len); + zip.write(buffer, 0, len); } input.close(); zip.flush(); @@ -58,4 +58,4 @@ public void end() throws Exception { zip.close(); output.close(); } -} \ No newline at end of file +}