wrong logic was causing custom mame to be ignored when launching

(but not for shell script).
This commit is contained in:
Kelvin Sherlock 2021-07-18 21:48:19 -04:00
parent 139ab22f2a
commit d92145f6b4
1 changed files with 1 additions and 1 deletions

View File

@ -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"];