diff --git a/src/menu/rom_patch_info.c b/src/menu/rom_patch_info.c index ebbd491f..cdb2430f 100644 --- a/src/menu/rom_patch_info.c +++ b/src/menu/rom_patch_info.c @@ -111,7 +111,7 @@ rom_patch_load_err_t rom_patch_info_load (char *path) FIL fil; rom_patch_load_err_t err; - if (f_open(&fil, strip_sd_prefix(path), FA_READ) != FR_OK) { + if (f_open(&fil, strip_fs_prefix(path), FA_READ) != FR_OK) { return PATCH_ERR_NO_FILE; } diff --git a/src/menu/views/browser.c b/src/menu/views/browser.c index b9df2bc8..e7459661 100644 --- a/src/menu/views/browser.c +++ b/src/menu/views/browser.c @@ -136,6 +136,8 @@ static bool load_directory (menu_t *menu) { entry->type = ENTRY_TYPE_DISK; }else if (file_has_extensions(entry->name, emulator_extensions)) { entry->type = ENTRY_TYPE_EMULATOR; + } else if (file_has_extensions(entry->name, patch_extensions)) { + entry->type = ENTRY_TYPE_ROM_PATCH; } else if (file_has_extensions(entry->name, save_extensions)) { entry->type = ENTRY_TYPE_SAVE; } else if (file_has_extensions(entry->name, image_extensions)) {