From b52aff0b8f83812d287d9a8e2dc91f0d9dbdf8d9 Mon Sep 17 00:00:00 2001 From: meancoot Date: Thu, 21 Feb 2013 20:33:05 -0500 Subject: [PATCH] ios: Use [UIImage imageNamed:] to load file and directory icons. --- ios/RetroArch/RetroArch_iOS.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/RetroArch/RetroArch_iOS.m b/ios/RetroArch/RetroArch_iOS.m index 2271b23247..4e45931752 100644 --- a/ios/RetroArch/RetroArch_iOS.m +++ b/ios/RetroArch/RetroArch_iOS.m @@ -99,8 +99,8 @@ extern uint32_t ios_current_touch_count; mkdir([self.system_directory UTF8String], 0755); // Load icons - self.file_icon = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"ic_file" ofType:@"png"]]; - self.folder_icon = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"ic_dir" ofType:@"png"]]; + self.file_icon = [UIImage imageNamed:@"ic_file"]; + self.folder_icon = [UIImage imageNamed:@"ic_dir"]; // Load buttons self.settings_button = [[UIBarButtonItem alloc]