mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2025-01-03 13:31:44 +00:00
added -reset option
This commit is contained in:
parent
af9786fb42
commit
e8ae7a9cb9
@ -18,6 +18,7 @@ import com.bytezone.diskbrowser.duplicates.RootFolderData;
|
||||
|
||||
public class DiskBrowser extends JFrame implements DiskSelectionListener, QuitListener
|
||||
{
|
||||
private static String[] args;
|
||||
private static final String windowTitle = "Apple ][ Disk Browser";
|
||||
private final Preferences prefs = Preferences.userNodeForPackage (this.getClass ());
|
||||
private WindowSaver windowSaver;
|
||||
@ -26,7 +27,7 @@ public class DiskBrowser extends JFrame implements DiskSelectionListener, QuitLi
|
||||
{
|
||||
super (windowTitle);
|
||||
|
||||
if (false)
|
||||
if (args.length > 0 && "-reset".equals (args[0]))
|
||||
{
|
||||
State state = new State (prefs);
|
||||
state.clear ();
|
||||
@ -202,6 +203,7 @@ public class DiskBrowser extends JFrame implements DiskSelectionListener, QuitLi
|
||||
|
||||
public static void main (String[] args)
|
||||
{
|
||||
DiskBrowser.args = args;
|
||||
EventQueue.invokeLater (new Runnable ()
|
||||
{
|
||||
@Override
|
||||
|
@ -36,6 +36,7 @@ class MC3470
|
||||
// D4 AA 96 address prologue - Bouncing Kamungas
|
||||
// D5 BB CF data prologue - Hard Hat Mac
|
||||
// DA AA EB address epilogue - Bouncing Kamungas
|
||||
// DD AA AD ?? prologue - Wings of Fury (4&4 data)
|
||||
|
||||
private static final byte[] address16prologue =
|
||||
{ (byte) 0xD5, (byte) 0xAA, (byte) 0x96 };
|
||||
|
Loading…
Reference in New Issue
Block a user