mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-31 15:23:35 +00:00
(PS3) Use ssnes_console_get_rom_ext function in file browser
This commit is contained in:
parent
05e49db12a
commit
1cc8a8a121
@ -16,9 +16,6 @@
|
|||||||
* If not, see <http://www.gnu.org/licenses/>.
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* allowed ROM extensions - ROMs are separated by a '|' character */
|
|
||||||
#define ROM_EXTENSIONS "smc|fig|sfc|gd3|gd7|dx2|bsx|swc|zip|SMC|FIG|SFC|BSX|GD3|GD7|DX2|SWC|ZIP"
|
|
||||||
|
|
||||||
#define FONT_SIZE 1.0f
|
#define FONT_SIZE 1.0f
|
||||||
#define EMU_MENU_TITLE "SSNES |"
|
#define EMU_MENU_TITLE "SSNES |"
|
||||||
#define VIDEO_MENU_TITLE "SSNES VIDEO |"
|
#define VIDEO_MENU_TITLE "SSNES VIDEO |"
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
#include "cellframework2/input/pad_input.h"
|
#include "cellframework2/input/pad_input.h"
|
||||||
#include "cellframework2/fileio/file_browser.h"
|
#include "cellframework2/fileio/file_browser.h"
|
||||||
|
|
||||||
|
#include "../console/rom_ext.h"
|
||||||
|
|
||||||
#include "ps3_video_psgl.h"
|
#include "ps3_video_psgl.h"
|
||||||
|
|
||||||
#include "shared.h"
|
#include "shared.h"
|
||||||
@ -1275,7 +1277,7 @@ static void select_rom(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (CTRL_START(button_was_pressed))
|
if (CTRL_START(button_was_pressed))
|
||||||
filebrowser_reset_start_directory(&browser, "/", ROM_EXTENSIONS);
|
filebrowser_reset_start_directory(&browser, "/", ssnes_console_get_rom_ext());
|
||||||
|
|
||||||
if (CTRL_CROSS(button_was_pressed))
|
if (CTRL_CROSS(button_was_pressed))
|
||||||
{
|
{
|
||||||
@ -1342,7 +1344,7 @@ static void select_rom(void)
|
|||||||
|
|
||||||
void menu_init (void)
|
void menu_init (void)
|
||||||
{
|
{
|
||||||
filebrowser_new(&browser, "/", ROM_EXTENSIONS);
|
filebrowser_new(&browser, "/", ssnes_console_get_rom_ext());
|
||||||
}
|
}
|
||||||
|
|
||||||
void menu_loop(void)
|
void menu_loop(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user