mirror of https://github.com/snes9xgit/snes9x.git
Mac: Fix keyboard preferences for players 2-8
This commit is contained in:
parent
b11657cd0f
commit
404c01019f
|
@ -114,7 +114,7 @@
|
||||||
|
|
||||||
for (NSUInteger i = 0; i < kNumButtons; ++i)
|
for (NSUInteger i = 0; i < kNumButtons; ++i)
|
||||||
{
|
{
|
||||||
controlsDict[@(i)] = keyboardDict[@(i + playerNum).stringValue];
|
controlsDict[@(i)] = keyboardDict[@(i + (playerNum * kNumButtons)).stringValue];
|
||||||
}
|
}
|
||||||
|
|
||||||
for (NSView *subview in self.view.subviews)
|
for (NSView *subview in self.view.subviews)
|
||||||
|
|
Loading…
Reference in New Issue