mirror of
https://github.com/ksherlock/ample.git
synced 2024-09-27 15:58:52 +00:00
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]) {
|
if ([defaults boolForKey: kUseCustomMame]) {
|
||||||
NSString *path = [defaults stringForKey: kMamePath];
|
NSString *path = [defaults stringForKey: kMamePath];
|
||||||
if (![path length]) return [NSURL fileURLWithPath: path];
|
if ([path length]) return [NSURL fileURLWithPath: path];
|
||||||
}
|
}
|
||||||
|
|
||||||
return [bundle URLForAuxiliaryExecutable: @"mame64"];
|
return [bundle URLForAuxiliaryExecutable: @"mame64"];
|
||||||
|
Loading…
Reference in New Issue
Block a user