admit failure on audio. why did i have no skip in bink open flags?
This commit is contained in:
1 parent
c254c19ca2
commit
18599151b4
4 files changed
+33
-30
No files matched your search
@@ -401,7 +401,7 @@ EFI_STATUS efi_main(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE* SystemTable) {
|
||||
printf("Video file loaded into memory\n");
|
||||
|
||||
HBINK bink = NULL;
|
||||
bink = pBinkOpen((const char*)video_file, BINKFROMMEMORY | BINKNOSKIP | BINKNOTHREADEDIO);
|
||||
bink = pBinkOpen((const char*)video_file, BINKFROMMEMORY | BINKNOTHREADEDIO);
|
||||
printf("Opened Bink!\n");
|
||||
|
||||
int width = bink->Width, height = bink->Height;
|
||||
@@ -512,6 +512,8 @@ EFI_STATUS efi_main(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE* SystemTable) {
|
||||
Free(video_file);
|
||||
Free(framebuffer);
|
||||
|
||||
gBS->FreePages((EFI_PHYSICAL_ADDRESS)HeapMemory, Pages);
|
||||
|
||||
Print(L"Exiting...\n");
|
||||
gBS->Stall(2 * 1000 * 1000);
|
||||
gST->RuntimeServices->ResetSystem(EfiResetShutdown, EFI_SUCCESS, 0, NULL);
|
||||
|
||||
Reference in new issue
Block a user