From e306359cc457dfbe5200e6485596e9c9901aae19 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Tue, 22 Feb 2011 02:03:02 +0000 Subject: -dfsound (macosx): added volume adjustment/muting support. -peopsxgl (macosx): removed powerpc from deployment configuration as the plugin is not big-endian compatible. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@63687 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/DFSound/macsrc/NamedSlider.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macosx/plugins/DFSound/macsrc/NamedSlider.m') diff --git a/macosx/plugins/DFSound/macsrc/NamedSlider.m b/macosx/plugins/DFSound/macsrc/NamedSlider.m index fd07780a..0196a168 100644 --- a/macosx/plugins/DFSound/macsrc/NamedSlider.m +++ b/macosx/plugins/DFSound/macsrc/NamedSlider.m @@ -17,10 +17,10 @@ - (NSString *)stringValue { int index = [self intValue]; - + if (index >= 0 && index < [strings count]) return [strings objectAtIndex:index]; - + return @"(Unknown)"; } -- cgit v1.2.3