mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2026-10-24 08:02:19 +00:00
Fixing location of boot code.
This commit is contained in:
1 parent
0d659e30c8
commit
a46b10f96e
1 file changed
+1
-1
@@ -71,7 +71,7 @@ public class GamedosFileStoreFactory implements FileStoreFactory,GamedosConstant
|
||||
throw new RuntimeException("GameDOS requires a 560 sector disk.");
|
||||
}
|
||||
device.format();
|
||||
try (InputStream inputStream = GamedosFileStoreFactory.class.getResourceAsStream("/gamedos/gamedos.bin")) {
|
||||
try (InputStream inputStream = GamedosFileStoreFactory.class.getResourceAsStream("/files/gamedos-track0.bin")) {
|
||||
Objects.requireNonNull(inputStream);
|
||||
byte[] track0 = inputStream.readAllBytes();
|
||||
device.writeRange(0, 0, 16, DataBuffer.wrap(track0));
|
||||
|
||||
Reference in new issue
Block a user