From 9e31f7fb63a1b51c1246f6c44e08de0a34eb4b35 Mon Sep 17 00:00:00 2001
From: "ol.sc"
Date: Sat, 29 Jan 2011 21:39:17 +0000
Subject: [PATCH] Set the priority of the main() args constructor to 24 simply
be cause most other targets do - and adjust the priority of the dos detection
constructor to stay higher than the main() args constructor.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4954 b7a2c559-68d2-44c3-8de9-860c34a00d81
---
libsrc/apple2/dosdetect.s | 2 +-
libsrc/apple2/mainargs.s | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libsrc/apple2/dosdetect.s b/libsrc/apple2/dosdetect.s
index 272d5056e..5dcda07a9 100644
--- a/libsrc/apple2/dosdetect.s
+++ b/libsrc/apple2/dosdetect.s
@@ -20,7 +20,7 @@
; ProDOS 8 2.0.3 - $23
;
- .constructor initdostype, 19
+ .constructor initdostype, 25
.export __dos_type
.include "mli.inc"
diff --git a/libsrc/apple2/mainargs.s b/libsrc/apple2/mainargs.s
index b5ba0bd96..2de10bd53 100644
--- a/libsrc/apple2/mainargs.s
+++ b/libsrc/apple2/mainargs.s
@@ -22,7 +22,7 @@
; TO-DO:
; Add a control-character quoting mechanism.
- .constructor initmainargs, 18
+ .constructor initmainargs, 24
.import __argc, __argv, __dos_type
.include "zeropage.inc"
--
2.39.5