Update Secret Sauce functionality.
parent
13df28fef4
commit
3647ff6e02
|
@ -202,7 +202,7 @@ static OSType getOSType(const char * in_)
|
|||
componentSubType = getOSType(cplugin);
|
||||
componentManufacturer = getOSType(cplugin + 4);
|
||||
|
||||
if (componentManufacturer == 'rolD' && componentSubType == 'Sc55')
|
||||
if ((componentManufacturer == 'rolD' || componentManufacturer == 'RoCl') && componentSubType == 'Sc55')
|
||||
{
|
||||
SCPlayer * scplayer = new SCPlayer;
|
||||
|
||||
|
|
|
@ -41,7 +41,8 @@
|
|||
|
||||
- (IBAction)setMidiPlugin:(id)sender
|
||||
{
|
||||
if ([[[NSUserDefaults standardUserDefaults] stringForKey:@"midi.plugin"] isEqualToString:@"Sc55rolD"])
|
||||
NSString * plugin = [[NSUserDefaults standardUserDefaults] stringForKey:@"midi.plugin"];
|
||||
if ([plugin isEqualToString:@"Sc55rolD"] || [plugin isEqualToString:@"Sc55RoCl"])
|
||||
[midiFlavorControl setEnabled:YES];
|
||||
else
|
||||
[midiFlavorControl setEnabled:NO];
|
||||
|
|
|
@ -17,6 +17,6 @@
|
|||
- (id)transformedValue:(id)value {
|
||||
if (value == nil) return nil;
|
||||
|
||||
return [NSNumber numberWithBool:[value isEqualToString:@"Sc55rolD"]];
|
||||
return [NSNumber numberWithBool:([value isEqualToString:@"Sc55rolD"] || [value isEqualToString:@"Sc55RoCl"])];
|
||||
}
|
||||
@end
|
||||
|
|
Loading…
Reference in New Issue