Mark previously built-in assets as downloadable images.

Addresses issue #6
This commit is contained in:
James Sanford 2023-11-20 16:20:55 -08:00
parent 001b451118
commit 93196b71d9
1 changed files with 4 additions and 3 deletions

View File

@ -64,9 +64,10 @@ public class DiskImageFragment extends DialogFragment {
}
}
}
// NOTE HACK. These files may not exist yet, so we cannot use fromPath.
mFoundImages.add(new DiskImage("System 6.hdv", "s7d1", 3, DiskImage.BOOT_SLOT_7, DiskImage.ASSET));
mFoundImages.add(new DiskImage("XMAS_DEMO.2MG", "s5d1", 2, DiskImage.BOOT_SLOT_5, DiskImage.ASSET));
// NOTE: When registering images manually, update the hardcoded names in AssetImages.java and use 'new DiskImage' (not DiskImage.fromPath)
mFoundImages.add(new DiskImage("System 6.hdv", "s7d1", 3, DiskImage.BOOT_SLOT_7, DiskImage.DOWNLOAD));
mFoundImages.add(new DiskImage("XMAS_DEMO.2MG", "s5d1", 2, DiskImage.BOOT_SLOT_5, DiskImage.DOWNLOAD));
Collections.sort(mFoundImages);
}