unsafe static long EfiMain(IntPtr imageHandle, EFI_SYSTEM_TABLE *systemTable) { EfiRuntimeHost.Initialize(systemTable); // Change to 2 * 1000 once proper time will be implemented. Thread.Sleep(40 * 1000); Console.Clear(); Game.Main(); return(0); }
static unsafe void EfiMain(IntPtr imageHandle, EFI_SYSTEM_TABLE *systemTable) { EfiRuntimeHost.Initialize(imageHandle, systemTable); ManagedMain(0, default); // Debug break to EFI runtime does not restart. while (true) { } }