allow woz disks to be saved as converted disk images

This commit is contained in:
Denis Molony 2022-04-09 18:25:02 +10:00
parent 40c2afbd48
commit 16ccc2632a
3 changed files with 6 additions and 4 deletions

View File

@ -346,9 +346,10 @@ public class DiskFactory
{
if (debug)
System.out.println (" --> PRODOS hard disk");
return new ProdosDisk (disk800);
disk = new ProdosDisk (disk800);
}
disk = new DataDisk (disk800);
else
disk = new DataDisk (disk800);
}
else
{
@ -363,6 +364,8 @@ public class DiskFactory
}
}
disk.setOriginalPath (originalPath); // allow Save converted disk...
return disk;
}
catch (Exception e)

View File

@ -115,7 +115,6 @@ class Character extends AbstractFile
public void linkSpells (List<Spell> spellList)
// ---------------------------------------------------------------------------------//
{
System.out.println (name);
int index = 0;
for (int i = 138; i < 145; i++)
for (int bit = 0; bit < 8; bit++)

View File

@ -47,7 +47,7 @@ class Reward extends AbstractFile
if (location == 0)
goldMonsters.add (monster);
else
chestMonsters.add (monster);
chestMonsters.add (monster); // lair
}
// ---------------------------------------------------------------------------------//