Kernel/ARMv7 - Fixed not using ASIDs
[tpg/acess2.git] / Kernel / drv / vterm.c
index 57ce082..e81f5e1 100644 (file)
@@ -121,7 +121,7 @@ const Uint16        caVT100Colours[] = {
        };
 
 // === GLOBALS ===
-MODULE_DEFINE(0, VERSION, VTerm, VT_Install, NULL, DEFAULT_INPUT, NULL);
+MODULE_DEFINE(0, VERSION, VTerm, VT_Install, NULL, NULL);
 tDevFS_Driver  gVT_DrvInfo = {
        NULL, "VTerm",
        {
@@ -211,6 +211,9 @@ int VT_Install(char **Arguments)
        
        if(!gsVT_InputDevice)   gsVT_InputDevice = (char*)DEFAULT_INPUT;
        else if( Module_EnsureLoaded( gsVT_InputDevice ) )      gsVT_InputDevice = (char*)DEFAULT_INPUT;
+       if( Module_EnsureLoaded( gsVT_OutputDevice ) ) {
+               Log_Error("VTerm", "Fallback input '%s' is not avaliable, input will not be avaliable", DEFAULT_INPUT);
+       }
        
        // Create device paths
        {
@@ -875,7 +878,7 @@ void VT_SetTerminal(int ID)
        
        VT_int_UpdateCursor(gpVT_CurTerm, 1);
        // Update the screen
-//     VT_int_UpdateScreen(gpVT_CurTerm, 1);
+       VT_int_UpdateScreen(gpVT_CurTerm, 1);
 }
 
 /**

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