fixed spacing

This commit is contained in:
shadlyd15 2022-05-07 23:09:35 +02:00
parent 4c11326467
commit e6e042e8e5
6 changed files with 4 additions and 4 deletions

View File

@ -97,9 +97,9 @@ img:
mmd -i $(IMAGE).img ::/EFI/BOOT mmd -i $(IMAGE).img ::/EFI/BOOT
mcopy -i $(IMAGE).img $(TARGET) ::/EFI/BOOT mcopy -i $(IMAGE).img $(TARGET) ::/EFI/BOOT
mcopy -i $(IMAGE).img startup.nsh :: mcopy -i $(IMAGE).img startup.nsh ::
mcopy -i $(IMAGE).img nestest.nes ::
mcopy -i $(IMAGE).img splash.bmp :: mcopy -i $(IMAGE).img splash.bmp ::
# Add your roms here # Add your roms here
mcopy -i $(IMAGE).img nestest.nes ::
run: run:
qemu-system-x86_64 -drive format=raw,file=$(IMAGE).img -m 256M -cpu qemu64 \ qemu-system-x86_64 -drive format=raw,file=$(IMAGE).img -m 256M -cpu qemu64 \

Binary file not shown.

View File

@ -52,7 +52,7 @@ efi_main (EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *systab){
} }
adafruit_gfx_init(kernel.graphics->Mode->Info->HorizontalResolution, kernel.graphics->Mode->Info->VerticalResolution); adafruit_gfx_init(kernel.graphics->Mode->Info->HorizontalResolution, kernel.graphics->Mode->Info->VerticalResolution);
populate_menu_items(); list_file_browser();
keyboard_init(ui_key_handler); keyboard_init(ui_key_handler);
#if 1 #if 1

Binary file not shown.

View File

@ -98,7 +98,7 @@ void save_rom_info(EFI_FILE_INFO *info){
} }
} }
int populate_menu_items(){ int list_file_browser(){
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);
list_directory(root, dp, save_rom_info); list_directory(root, dp, save_rom_info);

View File

@ -12,7 +12,7 @@ typedef enum {
void render_menu(UINT16 key); void render_menu(UINT16 key);
void render_splash_screen(); void render_splash_screen();
int populate_menu_items(); int list_file_browser();
ui_state_t ui_manage_states(); ui_state_t ui_manage_states();
void ui_key_handler(uint32_t key); void ui_key_handler(uint32_t key);