mirror of
https://github.com/shadlyd15/NesUEFI
synced 2024-11-24 21:59:50 +03:00
fixed spacing
This commit is contained in:
parent
4c11326467
commit
e6e042e8e5
@ -97,9 +97,9 @@ img:
|
||||
mmd -i $(IMAGE).img ::/EFI/BOOT
|
||||
mcopy -i $(IMAGE).img $(TARGET) ::/EFI/BOOT
|
||||
mcopy -i $(IMAGE).img startup.nsh ::
|
||||
mcopy -i $(IMAGE).img nestest.nes ::
|
||||
mcopy -i $(IMAGE).img splash.bmp ::
|
||||
# Add your roms here
|
||||
mcopy -i $(IMAGE).img nestest.nes ::
|
||||
|
||||
run:
|
||||
qemu-system-x86_64 -drive format=raw,file=$(IMAGE).img -m 256M -cpu qemu64 \
|
||||
|
Binary file not shown.
@ -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);
|
||||
populate_menu_items();
|
||||
list_file_browser();
|
||||
keyboard_init(ui_key_handler);
|
||||
|
||||
#if 1
|
||||
|
BIN
NesUEFI/main.efi
BIN
NesUEFI/main.efi
Binary file not shown.
@ -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_FILE_HANDLE root = get_volume(kernel.image_handle, (void*) &dp);
|
||||
list_directory(root, dp, save_rom_info);
|
||||
|
@ -12,7 +12,7 @@ typedef enum {
|
||||
|
||||
void render_menu(UINT16 key);
|
||||
void render_splash_screen();
|
||||
int populate_menu_items();
|
||||
int list_file_browser();
|
||||
ui_state_t ui_manage_states();
|
||||
void ui_key_handler(uint32_t key);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user