mirror of https://github.com/ksherlock/ample.git
Ample lite - use ~full files.
This commit is contained in:
parent
a1f6db6bb4
commit
28b49a549c
|
@ -213,8 +213,11 @@ enum {
|
|||
NSBundle *bundle = [NSBundle mainBundle];
|
||||
NSFileManager *fm = [NSFileManager defaultManager];
|
||||
|
||||
#ifdef AMPLE_LITE
|
||||
NSURL *url = [bundle URLForResource: @"roms~extra" withExtension: @"plist"];
|
||||
#else
|
||||
NSURL *url = [bundle URLForResource: @"roms" withExtension: @"plist"];
|
||||
|
||||
#endif
|
||||
NSArray *roms = [NSArray arrayWithContentsOfURL: url];
|
||||
|
||||
NSURL *sd = SupportDirectory();
|
||||
|
|
|
@ -20,7 +20,11 @@
|
|||
-(void)awakeFromNib {
|
||||
|
||||
NSBundle *bundle = [NSBundle mainBundle];
|
||||
#ifdef AMPLE_LITE
|
||||
NSString *path = [bundle pathForResource: @"models~extra" ofType: @"plist"];
|
||||
#else
|
||||
NSString *path = [bundle pathForResource: @"models" ofType: @"plist"];
|
||||
#endif
|
||||
_data = [NSArray arrayWithContentsOfFile: path];
|
||||
|
||||
|
||||
|
|
|
@ -27,7 +27,11 @@
|
|||
first++;
|
||||
|
||||
NSBundle *bundle = [NSBundle mainBundle];
|
||||
#ifdef AMPLE_LITE
|
||||
NSString *path = [bundle pathForResource: @"models~extra" ofType: @"plist"];
|
||||
#else
|
||||
NSString *path = [bundle pathForResource: @"models" ofType: @"plist"];
|
||||
#endif
|
||||
_data = [NSArray arrayWithContentsOfFile: path];
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue