Merge pull request #1 from loudercake/main

fix typos on main.c
This commit is contained in:
Shadly Salahuddin 2022-06-20 17:13:31 +02:00 committed by GitHub
commit 1124b87f29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,11 +38,11 @@ efi_main (EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *systab){
Print(L"Initializing NesUEFI ...\n"); Print(L"Initializing NesUEFI ...\n");
rc = timer_init(TICK_PER_SECOND); rc = timer_init(TICK_PER_SECOND);
Print(L"Timer Intialized : %r\n", rc); Print(L"Timer Initialized : %r\n", rc);
ST->BootServices->SetWatchdogTimer(0, 0, 0, NULL); ST->BootServices->SetWatchdogTimer(0, 0, 0, NULL);
rc = graphics_init(&gop); rc = graphics_init(&gop);
if (rc == EFI_SUCCESS){ if (rc == EFI_SUCCESS){
Print(L"Graphics Protocol Intialized : %r\n", rc); Print(L"Graphics Protocol Initialized : %r\n", rc);
rc = graphics_set_mode(gop); rc = graphics_set_mode(gop);
if (rc == EFI_SUCCESS){ if (rc == EFI_SUCCESS){
Print(L"Graphics Mode Set : %r\n", rc); Print(L"Graphics Mode Set : %r\n", rc);