diff --git a/SmokelessRuntimeEFIPatcher/SmokelessRuntimeEFIPatcher.c b/SmokelessRuntimeEFIPatcher/SmokelessRuntimeEFIPatcher.c index c3a309f..5e8307f 100755 --- a/SmokelessRuntimeEFIPatcher/SmokelessRuntimeEFIPatcher.c +++ b/SmokelessRuntimeEFIPatcher/SmokelessRuntimeEFIPatcher.c @@ -370,7 +370,8 @@ EFI_STATUS EFIAPI SREPEntry(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *Syst if (next->ARG3 == 0xFFFFFFFF) { Print(L"No Patter Found\n\r"); - goto cleanup; + //goto cleanup; +break; } } if (next->PatterType == REL_POS_OFFSET) @@ -427,4 +428,4 @@ cleanup: // UINT8 *Buffer = NULL; // UINTN BufferSize = 0; // LocateAndLoadFvFromName(L"SetupUtilityApp", EFI_SECTION_PE32, &Buffer, &BufferSize); -} \ No newline at end of file +}