From ad7dbe72feb949e3673ff7524a49ad2e61082503 Mon Sep 17 00:00:00 2001 From: Date: Fri, 13 Apr 2012 18:08:35 +0000 Subject: [PATCH] Extract the boot sector code from the jar once again - it's a gem! --- src/com/webcodepro/applecommander/storage/FormattedDisk.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/webcodepro/applecommander/storage/FormattedDisk.java b/src/com/webcodepro/applecommander/storage/FormattedDisk.java index b7a3031..7f1d597 100644 --- a/src/com/webcodepro/applecommander/storage/FormattedDisk.java +++ b/src/com/webcodepro/applecommander/storage/FormattedDisk.java @@ -25,7 +25,6 @@ import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; - import com.webcodepro.applecommander.storage.physical.ImageOrder; import com.webcodepro.applecommander.util.TextBundle; @@ -315,7 +314,7 @@ public abstract class FormattedDisk extends Disk implements DirectoryEntry { */ protected void writeBootCode() { InputStream inputStream = getClass(). - getResourceAsStream("AppleCommander-boot.dump"); //$NON-NLS-1$ + getResourceAsStream("/com/webcodepro/applecommander/storage/AppleCommander-boot.dump"); //$NON-NLS-1$ if (inputStream != null) { byte[] bootCode = new byte[SECTOR_SIZE]; try {