From 203c3ed82ef65797bdc8f14468791ba5f3b80b94 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 22 Aug 2012 12:40:18 +0200 Subject: [PATCH] (360) Proper extension checking in 'Change libretro core' menu --- 360/frontend-xdk/menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/360/frontend-xdk/menu.cpp b/360/frontend-xdk/menu.cpp index 5536b7c7dc..be44760c7e 100644 --- a/360/frontend-xdk/menu.cpp +++ b/360/frontend-xdk/menu.cpp @@ -871,7 +871,7 @@ HRESULT CRetroArchCoreBrowser::OnNotifyPress( HXUIOBJ hObjPressed, BOOL& bHandle else if(tmp_browser->current_dir.list->elems[index].attr.b) { snprintf(path, sizeof(path), "%s\\%s", filebrowser_get_current_dir(tmp_browser), str_buffer); - filebrowser_set_root_and_ext(tmp_browser, rarch_console_get_rom_ext(), path); + filebrowser_set_root_and_ext(tmp_browser, "xex|XEX", path); uint64_t action = (1 << RMENU_DEVICE_NAV_B); filebrowser_fetch_directory_entries(tmp_browser, action, &m_romlist, &m_rompathtitle); }