[uae] Boot priority fix (was Re: Source code snapshot)

  • From: Richard Drummond <evilrich@xxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Fri, 10 Sep 2004 00:21:33 -0500

Hi Lem

On Thursday 09 September 2004 08:32 am, Lem wrote:
>  There's a small quirk with the adding of filesystems. Setting the boot
> priority doesn't work on the addition of a filesystem, but modifying the
> boot priority after adding it works..

The attached patch should fix this problem.

Cheers,
Rich
Index: gui-gtk/gtkui.c
===================================================================
RCS file: /cvsroot/uaedev/uae/src/gui-gtk/gtkui.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- gui-gtk/gtkui.c     7 Sep 2004 21:09:10 -0000       1.17
+++ gui-gtk/gtkui.c     10 Sep 2004 05:18:43 -0000      1.18
@@ -1581,7 +1581,7 @@
        set_hd_state ();
     } else {
        add_filesys_unit (currprefs.mountinfo, dirdlg_devname, dirdlg_volname, 
dirdlg_path,
-                         readonly, 0, 0, 0, 0, 0, 0);
+                         readonly, 0, 0, 0, 0, bootpri, 0);
        set_hd_state ();
     }
     gtk_widget_destroy (dirdlg);

Other related posts:

  • » [uae] Boot priority fix (was Re: Source code snapshot)