Check for SYS/GL during library init. Reason is that
[AROS.git] / arch / m68k-amiga / lowlevel / lowlevel_amiga.c
blobd6de79309a7169512c584c8e940494dc410430a3
1 /*
2 Copyright © 2013, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <proto/exec.h>
8 #include <aros/symbolsets.h>
10 #include "lowlevel_intern.h"
12 static int Lowlevel_amiga_InitLib(struct LowLevelBase *LowLevelBase)
14 LowLevelBase->ll_PotgoBase = OpenResource("potgo.resource");
15 if (LowLevelBase->ll_PotgoBase == NULL)
16 return 0;
18 LowLevelBase->ll_PortType[0] = 0; /* Autosense */
19 LowLevelBase->ll_PortType[1] = 0; /* Autosense */
20 return 1;
23 ADD2INITLIB(Lowlevel_amiga_InitLib, 40)