mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Cleanups
This commit is contained in:
parent
6e1658bb30
commit
ee36fd54c3
1 changed files with 2 additions and 2 deletions
|
@ -292,10 +292,10 @@ static char** waiting_argv;
|
|||
|
||||
- (void)application:(NSApplication *)sender openFiles:(NSArray *)filenames
|
||||
{
|
||||
if (filenames.count == 1 && [filenames objectAtIndex:0])
|
||||
if (filenames.count == 1 && filenames[0])
|
||||
{
|
||||
struct retro_system_info *system = runloop_get_libretro_system_info();
|
||||
NSString *__core = [filenames objectAtIndex:0];
|
||||
NSString *__core = filenames[0];
|
||||
const char *core_name = system ? system->library_name : NULL;
|
||||
|
||||
if (core_name)
|
||||
|
|
Loading…
Add table
Reference in a new issue