mirror of
https://github.com/libretro/RetroArch
synced 2025-03-04 07:13:26 +00:00
Add 'set message'
This commit is contained in:
parent
d4e3a84f9c
commit
61987e8ba5
@ -295,6 +295,7 @@ extern void action_ok_push_quick_menu(void);
|
||||
#if defined(MAC_OS_X_VERSION_10_6)
|
||||
settings_t *settings = config_get_ptr();
|
||||
NSString *startdir = BOXSTRING(settings->libretro_directory);
|
||||
[panel setMessage:BOXSTRING("Load Core")];
|
||||
[panel setDirectoryURL:[NSURL fileURLWithPath:startdir]];
|
||||
[panel beginSheetModalForWindow:self.window completionHandler:^(NSInteger result)
|
||||
{
|
||||
@ -344,6 +345,7 @@ extern void action_ok_push_quick_menu(void);
|
||||
if (!startdir.length)
|
||||
startdir = BOXSTRING("/");
|
||||
[panel setDirectoryURL:[NSURL fileURLWithPath:startdir]];
|
||||
[panel setMessage:BOXSTRING("Load Content")];
|
||||
[panel beginSheetModalForWindow:self.window completionHandler:^(NSInteger result)
|
||||
{
|
||||
[[NSApplication sharedApplication] stopModal];
|
||||
|
Loading…
x
Reference in New Issue
Block a user