From dd2e670d8f4f884c0e00c426e86dc5fd830f1dc1 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 18 Feb 2018 14:22:26 +0200 Subject: [PATCH] Fix priority<>bootpri. --- filesys.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/filesys.cpp b/filesys.cpp index 6c14a460..21b69ddf 100644 --- a/filesys.cpp +++ b/filesys.cpp @@ -587,7 +587,8 @@ void uci_set_defaults (struct uaedev_config_info *uci, bool rdb) uci->bufmemtype = 1; uci->buffers = 50; uci->stacksize = 4000; - uci->priority = -129; + uci->bootpri = -128; + uci->priority = 10; uci->sectorsperblock = 1; uci->device_emu_unit = -1; } @@ -8472,8 +8473,8 @@ static void addfakefilesys (TrapContext *ctx, uaecptr parmpacket, uae_u32 dostyp trap_put_long(ctx, parmpacket + PP_FSHDSTART + 12 + 4 * 4, ci->stacksize); flags |= 0x10; - if (ci->priority != -129) { - trap_put_long(ctx, parmpacket + PP_FSHDSTART + 12 + 5 * 4, ci->priority); + if (ci->bootpri != -129) { + trap_put_long(ctx, parmpacket + PP_FSHDSTART + 12 + 5 * 4, ci->bootpri); flags |= 0x20; } trap_put_long(ctx, parmpacket + PP_FSHDSTART + 12 + 8 * 4, dostype == DISK_TYPE_DOS || bcplonlydos() ? 0 : -1); // globvec -- 2.47.3