Save directory entry changes after making them

This commit is contained in:
2012-11-22 05:56:48 +00:00
parent 7df83119ab
commit 43ccf507c4

View File

@ -59,6 +59,7 @@ public class ProdosSubdirectoryHeader extends ProdosCommonDirectoryHeader {
public void setParentPointer(int block) { public void setParentPointer(int block) {
byte[] data = readFileEntry(); byte[] data = readFileEntry();
AppleUtil.setWordValue(data, 0x23, block); AppleUtil.setWordValue(data, 0x23, block);
writeFileEntry(data);
} }
/** /**