Still some issues, but it seems to not crash anymore
[tpg/acess2.git] / Kernel / arch / x86 / kpanic.c
index 798c513..dc1a719 100644 (file)
@@ -55,7 +55,7 @@ const struct {
 /**
  * \brief Sets the screen mode for a kernel panic
  */
-void KernelPanic_SetMode()
+void KernelPanic_SetMode(void)
 {
         int    i;
        
@@ -65,7 +65,7 @@ void KernelPanic_SetMode()
        if( giKP_Pos )  return ;
        
        // Restore VGA 0xB8000 text mode
-       #if 1
+       #if 0
        for( i = 0; i < NUM_REGVALUES; i++ )
        {
                // Reset Flip-Flop

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