From 5e107add0a0fa06ba7aa7e5eabde4bc8af18174a Mon Sep 17 00:00:00 2001 From: Takumi Sueda Date: Thu, 5 May 2022 22:57:51 +0900 Subject: [PATCH] Wait 1sec before jumping to U-Boot --- BrainLILODrv.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BrainLILODrv.cpp b/BrainLILODrv.cpp index 1e96fd4..63ca665 100644 --- a/BrainLILODrv.cpp +++ b/BrainLILODrv.cpp @@ -180,6 +180,8 @@ __attribute__((noreturn)) static DWORD EDNA2_callKernelEntryPoint() outputDebugMessage(L"BrainLILO: injecting code to internal ram"); EDNA2_installPhysicalInvoker(); outputDebugMessage(L"BrainLILO: invoking"); + Sleep(1000); + EDNA2_runPhysicalInvoker(); }