mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-12-22 10:29:21 +00:00
allow woz disks to be saved as converted disk images
This commit is contained in:
parent
40c2afbd48
commit
16ccc2632a
@ -346,8 +346,9 @@ public class DiskFactory
|
|||||||
{
|
{
|
||||||
if (debug)
|
if (debug)
|
||||||
System.out.println (" --> PRODOS hard disk");
|
System.out.println (" --> PRODOS hard disk");
|
||||||
return new ProdosDisk (disk800);
|
disk = new ProdosDisk (disk800);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
disk = new DataDisk (disk800);
|
disk = new DataDisk (disk800);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -363,6 +364,8 @@ public class DiskFactory
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
disk.setOriginalPath (originalPath); // allow Save converted disk...
|
||||||
|
|
||||||
return disk;
|
return disk;
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
@ -115,7 +115,6 @@ class Character extends AbstractFile
|
|||||||
public void linkSpells (List<Spell> spellList)
|
public void linkSpells (List<Spell> spellList)
|
||||||
// ---------------------------------------------------------------------------------//
|
// ---------------------------------------------------------------------------------//
|
||||||
{
|
{
|
||||||
System.out.println (name);
|
|
||||||
int index = 0;
|
int index = 0;
|
||||||
for (int i = 138; i < 145; i++)
|
for (int i = 138; i < 145; i++)
|
||||||
for (int bit = 0; bit < 8; bit++)
|
for (int bit = 0; bit < 8; bit++)
|
||||||
|
@ -47,7 +47,7 @@ class Reward extends AbstractFile
|
|||||||
if (location == 0)
|
if (location == 0)
|
||||||
goldMonsters.add (monster);
|
goldMonsters.add (monster);
|
||||||
else
|
else
|
||||||
chestMonsters.add (monster);
|
chestMonsters.add (monster); // lair
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------------//
|
// ---------------------------------------------------------------------------------//
|
||||||
|
Loading…
Reference in New Issue
Block a user