summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFSound/macsrc/NamedSlider.m
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-02-22 02:03:02 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-02-22 02:03:02 +0000
commite306359cc457dfbe5200e6485596e9c9901aae19 (patch)
tree543cf1b6b929badfaddaf027da29dd91fc6611e9 /macosx/plugins/DFSound/macsrc/NamedSlider.m
parent41d8ea06cf6d8f09d910bbe6727c3c9b4adf6c01 (diff)
downloadpcsxr-e306359cc457dfbe5200e6485596e9c9901aae19.tar.gz
-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
Diffstat (limited to 'macosx/plugins/DFSound/macsrc/NamedSlider.m')
-rw-r--r--macosx/plugins/DFSound/macsrc/NamedSlider.m4
1 files changed, 2 insertions, 2 deletions
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)";
}