From: ol.sc
Date: Sat, 29 Jan 2011 21:39:17 +0000 (+0000)
Subject: Set the priority of the main() args constructor to 24 simply be cause most other...
X-Git-Tag: V2.13.3~506
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9e31f7fb63a1b51c1246f6c44e08de0a34eb4b35;p=cc65
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
---
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"