mirror of
https://github.com/ksherlock/ample.git
synced 2026-04-21 07:16:31 +00:00
wrong logic was causing custom mame to be ignored when launching
(but not for shell script).
This commit is contained in:
+1
-1
@@ -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"];
|
||||
|
||||
Reference in New Issue
Block a user