Altered keyboard driver to correctly support Unicode
[tpg/acess2.git] / Kernel / modules.c
index 71d76d4..eec5020 100644 (file)
@@ -6,6 +6,7 @@
 #include <modules.h>
 
 // === PROTOTYPES ===
+ int   Modules_LoadBuiltins();
  int   Module_LoadMem(void *Buffer, Uint Length, char *ArgString);
  int   Module_LoadFile(char *Path, char *ArgString);
  int   Module_int_ResolveDeps(tModule *Info);
@@ -64,6 +65,8 @@ int Modules_LoadBuiltins()
                for( i = 0; i < giNumBuiltinModules; i++ )
                {
                        if( baIsLoaded[i] )     continue;       // Ignore already loaded modules
+               
+                       deps = gKernelModules[i].Dependencies;
                        
                        if( deps )
                        {
@@ -175,6 +178,12 @@ int Module_LoadFile(char *Path, char *ArgString)
                return 0;
        }
        
+       Log("Initialising %p '%s' v%i.%i...",
+                               info,
+                               info->Name,
+                               info->Version>>8, info->Version & 0xFF
+                               );
+       
        // Call Initialiser
        //if( info->Init( ArgString ) != 0 )
        if( info->Init( NULL ) == 0 )

UCC git Repository :: git.ucc.asn.au