diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-28 05:40:02 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-28 05:40:02 -0400 |
| commit | 1f8d9405bef828662dd47b57236edba74ee09545 (patch) | |
| tree | 3ff05e85bb63c6061b7bc1c9b11cd552807c88fb | |
| parent | 443d77468cd97d65d2af5ebd52afca62ea44df85 (diff) | |
| download | fujinet-chat-1f8d9405bef828662dd47b57236edba74ee09545.tar.gz | |
Fix config build.
| -rw-r--r-- | config/config.c | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/config/config.c b/config/config.c index 9c97d43..b753bbd 100644 --- a/config/config.c +++ b/config/config.c @@ -83,19 +83,6 @@ void detect_dos(void) { if(h || d) have_dos = 1; } -void detect_xl(void) { - if(!is_xl()) { - print("400/800 detected, no extra RAM\n"); - use_xl_ram = 0; - return; - } - - yn("XL/XE detected, use extra RAM", use_xl_ram); - if(!use_xl_ram) return; - - os_to_ram(); -} - void print(const char *text) { fputs(text, stdout); } @@ -537,6 +524,20 @@ void prompt_server() { } } +void detect_xl(void) { + if(!is_xl()) { + print("400/800 detected, no extra RAM\n"); + use_xl_ram = 0; + return; + } + + yn("XL/XE detected, use extra RAM", use_xl_ram); + if(!use_xl_ram) return; + + os_to_ram(); +} + + void set_default_config(void) { memcpy(conf, &defaults, sizeof(conf_t)); } |
