mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2025-01-02 19:29:17 +00:00
Extract the boot sector code from the jar once again - it's a gem!
This commit is contained in:
parent
2d87ba07f2
commit
ad7dbe72fe
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user