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)
|
#if defined(MAC_OS_X_VERSION_10_6)
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
NSString *startdir = BOXSTRING(settings->libretro_directory);
|
NSString *startdir = BOXSTRING(settings->libretro_directory);
|
||||||
|
[panel setMessage:BOXSTRING("Load Core")];
|
||||||
[panel setDirectoryURL:[NSURL fileURLWithPath:startdir]];
|
[panel setDirectoryURL:[NSURL fileURLWithPath:startdir]];
|
||||||
[panel beginSheetModalForWindow:self.window completionHandler:^(NSInteger result)
|
[panel beginSheetModalForWindow:self.window completionHandler:^(NSInteger result)
|
||||||
{
|
{
|
||||||
@ -344,6 +345,7 @@ extern void action_ok_push_quick_menu(void);
|
|||||||
if (!startdir.length)
|
if (!startdir.length)
|
||||||
startdir = BOXSTRING("/");
|
startdir = BOXSTRING("/");
|
||||||
[panel setDirectoryURL:[NSURL fileURLWithPath:startdir]];
|
[panel setDirectoryURL:[NSURL fileURLWithPath:startdir]];
|
||||||
|
[panel setMessage:BOXSTRING("Load Content")];
|
||||||
[panel beginSheetModalForWindow:self.window completionHandler:^(NSInteger result)
|
[panel beginSheetModalForWindow:self.window completionHandler:^(NSInteger result)
|
||||||
{
|
{
|
||||||
[[NSApplication sharedApplication] stopModal];
|
[[NSApplication sharedApplication] stopModal];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user