mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
Cleanups
This commit is contained in:
parent
9e5ad14da0
commit
8088df5f09
@ -25,8 +25,8 @@
|
||||
|
||||
static bool ui_browser_window_cocoa_open(ui_browser_window_state_t *state)
|
||||
{
|
||||
NSOpenPanel* panel = (NSOpenPanel*)[NSOpenPanel openPanel];
|
||||
NSArray *filetypes = [[NSArray alloc] initWithObjects:BOXSTRING("dylib"), BOXSTRING("Core"), nil];
|
||||
NSOpenPanel* panel = (NSOpenPanel*)[NSOpenPanel openPanel];
|
||||
NSArray *filetypes = [[NSArray alloc] initWithObjects:BOXSTRING(state->filters), BOXSTRING(state->filters_title), nil];
|
||||
[panel setAllowedFileTypes:filetypes];
|
||||
#if defined(MAC_OS_X_VERSION_10_6)
|
||||
[panel setMessage:BOXSTRING(state->title)];
|
||||
|
@ -67,6 +67,7 @@ typedef struct ui_browser_window_state
|
||||
{
|
||||
void *window;
|
||||
char *filters;
|
||||
char *filters_title;
|
||||
char *startdir;
|
||||
char *path;
|
||||
char *title;
|
||||
|
Loading…
x
Reference in New Issue
Block a user