VGMStream: Fix fade time configuration

Fade time was reading from some completely wrong
configuration field name, so fades weren't working.
This commit is contained in:
Christopher Snowhill 2024-09-17 02:24:13 -07:00
parent 389f56e392
commit a3e6636731

View file

@ -243,7 +243,7 @@ static NSString *get_description_tag(const char *description, const char *tag, c
loopCount = 10;
}
fadeTime = [[[[NSUserDefaultsController sharedUserDefaultsController] defaults] valueForKey:@"synthDefaultFadeTime"] doubleValue];
fadeTime = [[[[NSUserDefaultsController sharedUserDefaultsController] defaults] valueForKey:@"synthDefaultFadeSeconds"] doubleValue];
if(fadeTime < 0.0) {
fadeTime = 0.0;
}