mirror of https://github.com/ksherlock/ample.git
wrong logic was causing custom mame to be ignored when launching
(but not for shell script).
This commit is contained in:
parent
139ab22f2a
commit
d92145f6b4
|
@ -42,7 +42,7 @@ NSURL *MameURL(void) {
|
|||
|
||||
if ([defaults boolForKey: kUseCustomMame]) {
|
||||
NSString *path = [defaults stringForKey: kMamePath];
|
||||
if (![path length]) return [NSURL fileURLWithPath: path];
|
||||
if ([path length]) return [NSURL fileURLWithPath: path];
|
||||
}
|
||||
|
||||
return [bundle URLForAuxiliaryExecutable: @"mame64"];
|
||||
|
|
Loading…
Reference in New Issue