mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Cleanups
This commit is contained in:
parent
6e1658bb30
commit
ee36fd54c3
@ -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…
x
Reference in New Issue
Block a user