Skip to content

Commit

Permalink
emuThree fix some warnings, min ios version
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Mattello <[email protected]>
  • Loading branch information
JoeMatt committed May 5, 2024
1 parent f70263f commit 9137012
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 36 deletions.
4 changes: 2 additions & 2 deletions Cores/emuThree/PVEmuThree.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -47570,7 +47570,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = "";
IPHONEOS_DEPLOYMENT_TARGET = 13.1;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
MTL_ENABLE_DEBUG_INFO = NO;
OBJROOT = "$(SRCROOT)/lib/emuthree";
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -47816,7 +47816,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = "";
IPHONEOS_DEPLOYMENT_TARGET = 13.1;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
MTL_ENABLE_DEBUG_INFO = NO;
OBJROOT = "$(SRCROOT)/lib/emuthree";
ONLY_ACTIVE_ARCH = YES;
Expand Down
34 changes: 0 additions & 34 deletions Cores/emuThree/PVEmuThreeCore/Core/PVEmuThreeCore+Controls.mm
Original file line number Diff line number Diff line change
Expand Up @@ -122,40 +122,6 @@ -(void)setupControllers {
[CitraWrapper.sharedInstance.m_buttonHome valueChangedHandler:button value:value pressed:pressed];
};
}
else if (controller.gamepad != nil)
{
controller.gamepad.buttonA.pressedChangedHandler = ^(GCControllerButtonInput* button, float value, bool pressed) {
[CitraWrapper.sharedInstance.m_buttonB valueChangedHandler:button value:value pressed:pressed];
};
controller.gamepad.buttonB.pressedChangedHandler = ^(GCControllerButtonInput* button, float value, bool pressed) {
[CitraWrapper.sharedInstance.m_buttonA valueChangedHandler:button value:value pressed:pressed];
};
controller.gamepad.buttonX.pressedChangedHandler = ^(GCControllerButtonInput* button, float value, bool pressed) {
[CitraWrapper.sharedInstance.m_buttonY valueChangedHandler:button value:value pressed:pressed];
};
controller.gamepad.buttonY.pressedChangedHandler = ^(GCControllerButtonInput* button, float value, bool pressed) {
[CitraWrapper.sharedInstance.m_buttonX valueChangedHandler:button value:value pressed:pressed];
};
controller.gamepad.leftShoulder.pressedChangedHandler = ^(GCControllerButtonInput* button, float value, bool pressed) {
[CitraWrapper.sharedInstance.m_buttonL valueChangedHandler:button value:value pressed:pressed];
};
controller.gamepad.rightShoulder.pressedChangedHandler = ^(GCControllerButtonInput* button, float value, bool pressed) {
[CitraWrapper.sharedInstance.m_buttonR valueChangedHandler:button value:value pressed:pressed];
};
controller.gamepad.dpad.up.pressedChangedHandler = ^(GCControllerButtonInput* button, float value, bool pressed) {
[CitraWrapper.sharedInstance.m_buttonDpadUp valueChangedHandler:button value:value pressed:pressed];
};
controller.gamepad.dpad.left.pressedChangedHandler = ^(GCControllerButtonInput* button, float value, bool pressed) {
[CitraWrapper.sharedInstance.m_buttonDpadLeft valueChangedHandler:button value:value pressed:pressed];
};
controller.gamepad.dpad.right.pressedChangedHandler = ^(GCControllerButtonInput* button, float value, bool pressed) {
[CitraWrapper.sharedInstance.m_buttonDpadRight valueChangedHandler:button value:value pressed:pressed];
};
controller.gamepad.dpad.down.pressedChangedHandler = ^(GCControllerButtonInput* button, float value, bool pressed) {
[CitraWrapper.sharedInstance.m_buttonDpadDown valueChangedHandler:button value:value pressed:pressed];
};

}
else if (controller.microGamepad != nil)
{
controller.microGamepad.buttonA.pressedChangedHandler = ^(GCControllerButtonInput* button, float value, bool pressed) {
Expand Down

0 comments on commit 9137012

Please sign in to comment.