fixed spacing

This commit is contained in:
shadlyd15 2022-05-07 22:53:33 +02:00
parent 47a1baee30
commit 4c11326467
3 changed files with 4 additions and 4 deletions

Binary file not shown.

Binary file not shown.

View File

@ -51,11 +51,11 @@ bool load_current_nes_file(){
if (fce_load_rom((char*) Buffer) == 0){ if (fce_load_rom((char*) Buffer) == 0){
// Print(L"ROM LOADED\n\r"); // Print(L"ROM LOADED\n\r");
draw_menu(L "ROM LOADED"); draw_menu(L"ROM LOADED");
rc = true; rc = true;
} }
else{ else{
draw_menu(L "ROM LOAD ERROR"); draw_menu(L"ROM LOAD ERROR");
} }
FreePool(Buffer); FreePool(Buffer);
return rc; return rc;
@ -92,7 +92,7 @@ void render_menu(UINT16 key){
} }
void save_rom_info(EFI_FILE_INFO *info){ void save_rom_info(EFI_FILE_INFO *info){
if ((strstr_16(info->FileName, L ".nes")) || (strstr_16(info->FileName, L ".NES"))){ if ((strstr_16(info->FileName, L".nes")) || (strstr_16(info->FileName, L".NES"))){
StrCpy(rom_collection[total_roms], info->FileName); StrCpy(rom_collection[total_roms], info->FileName);
total_roms++; total_roms++;
} }
@ -143,7 +143,7 @@ void render_splash_screen(){
EFI_DEVICE_PATH * dp; EFI_DEVICE_PATH * dp;
EFI_FILE_HANDLE root = get_volume(kernel.image_handle, (void*) &dp); EFI_FILE_HANDLE root = get_volume(kernel.image_handle, (void*) &dp);
CHAR16 *FileName = L "splash.bmp"; CHAR16 *FileName = L"splash.bmp";
EFI_FILE_HANDLE FileHandle; EFI_FILE_HANDLE FileHandle;
graphics_clear_framebuffer(kernel.graphics); graphics_clear_framebuffer(kernel.graphics);
/*open the file */ /*open the file */