mirror of
https://github.com/ksherlock/ample.git
synced 2025-02-21 07:29:14 +00:00
support for -share_directory (booti card). No UI support yet, though.
This commit is contained in:
parent
5e87627251
commit
a8e03a9490
@ -46,6 +46,7 @@ static NSString *kContextMachine = @"kContextMachine";
|
||||
@property NSString *mameAVIPath;
|
||||
@property NSString *mameWAVPath;
|
||||
@property NSString *mameVGMPath;
|
||||
@property NSString *mameShareDirectory;
|
||||
|
||||
@property NSInteger mameSpeed;
|
||||
|
||||
@ -91,6 +92,7 @@ static NSString *kContextMachine = @"kContextMachine";
|
||||
@"mameAVI", @"mameAVIPath",
|
||||
@"mameWAV", @"mameWAVPath",
|
||||
@"mameVGM", @"mameVGMPath",
|
||||
@"mameShareDirectory",
|
||||
@"mameBGFX", @"mameBackend", @"mameEffects",
|
||||
];
|
||||
|
||||
@ -405,6 +407,12 @@ static NSString *ShellQuote(NSString *s) {
|
||||
}
|
||||
}
|
||||
|
||||
if (_mameShareDirectory && [_mameShareDirectory length]) {
|
||||
[argv addObject: @"-share_directory"];
|
||||
[argv addObject: _mameShareDirectory];
|
||||
}
|
||||
|
||||
|
||||
[self setCommandLine: JoinArguments(argv, nil)];
|
||||
[self setArgs: argv];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user