Commit Graph

263 Commits

Author SHA1 Message Date
Unknown W. Brackets
3b4103cb3b System: Use a separate API for bool props.
This simplifies defaulting, instead of -1 being "true".
2017-04-29 17:35:12 -07:00
Henrik Rydgard
cf365bb257 Minor cleanup with GOLD define - only use it in System_GetPropertyInt 2017-04-05 16:21:08 +02:00
Henrik Rydgård
22782b6439 UWP: Fix DPI calculations for touch. Implement back button support. 2017-03-23 10:02:29 +01:00
Henrik Rydgård
e17772b58d Merge pull request #9430 from unknownbrackets/input-state
Remove legacy InputState tracking
2017-03-15 10:16:14 +01:00
Unknown W. Brackets
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Unknown W. Brackets
e1bc26e67a Remove remaining input_state mutexing. 2017-03-14 22:07:06 -07:00
Unknown W. Brackets
255c726c1e Remove legacy pointer tracking outside Windows. 2017-03-14 22:07:05 -07:00
Henrik Rydgård
7e007c3973 Merge pull request #9426 from unknownbrackets/input-state
Remove various legacy parts of the InputState
2017-03-14 09:34:57 +01:00
Unknown W. Brackets
2812ddcc86 Remove End/UpdateInputState and ButtonTracker.
No longer used for anything.
2017-03-13 22:58:38 -07:00
Unknown W. Brackets
ef57eafaad Correct GE debugger font size in small window mode.
This should handle high and low DPI cases correctly, to avoid making the
text unreadably small.
2017-03-12 12:17:35 -07:00
Henrik Rydgård
9f17c7f01e Fix iOS crash. Fixes #9381 2017-03-06 20:27:11 +01:00
Henrik Rydgård
a1941d8a81 It's enough to call net::Init/Shutdown in NativeInit/Shutdown. Remove other calls. 2017-03-06 10:51:28 +01:00
Henrik Rydgard
26a2d42731 Big mutex overhaul - remove our custom ones, make them non-recursive where possible 2017-02-28 11:40:29 +01:00
Henrik Rydgard
55aa879216 A lot of buildfixes 2017-02-06 16:16:43 +01:00
Henrik Rydgard
ad29974a56 Change when drawcontexts are allocated. Hook up backbuffer events to fix d3d9 resizing. 2017-02-06 11:40:16 +01:00
Henrik Rydgard
20d9e60a67 Just some renaming. Start moving away from the "thin3d" name 2017-01-30 14:38:31 +01:00
Henrik Rydgård
b9bbee5c85 Use the mach memory functions on Mac and 32-bit iOS as well. 2017-01-25 20:38:46 +01:00
Henrik Rydgård
193b5f3094 By skipping kernel mappings, I got things to fit in the iOS 64-bit address space. However, something is still a bit broken with JIT... 2017-01-25 18:35:09 +01:00
Henrik Rydgård
5af8b152e1 Further buildfixes 2016-12-27 11:59:12 +01:00
Henrik Rydgard
bb4920298b ios/ViewController.mm : Add a comment about a future optimization 2016-12-21 17:40:33 +01:00
Matthew Campbell
5d17c5e38e fix ios build docs 2016-10-23 09:55:57 +07:00
Florent Castelli
eb2eb4cd9b cmake: Move some platform configuration to a toolchain file 2016-10-12 18:52:23 +02:00
Henrik Rydgard
2a4f4ed41d iOS buildfix, fix another comment 2016-08-28 18:10:26 +02:00
Henrik Rydgard
1e4b77fb49 Use PAGE_SIZE, fix a comment, fix some indentation. 2016-08-28 18:07:54 +02:00
Henrik Rydgard
daf10ec882 Use JIT on iOS (not actually working yet, but it will start working in later commits) 2016-08-28 13:43:59 +02:00
Henrik Rydgard
b39206f922 Use the app cache directory on Android for the shader cache. 2016-01-17 22:15:23 +01:00
Henrik Rydgard
27c71aa340 Get rid of the unused "InstallID" 2016-01-17 15:46:15 +01:00
Unknown W. Brackets
481be1cd34 Fix GL feature detection. 2016-01-06 20:26:53 -08:00
Henrik Rydgård
517c5183ac IOS buildfix 2016-01-03 15:19:43 +01:00
Henrik Rydgard
03aa820c28 Untested ios buildfix 2016-01-01 14:40:18 +01:00
Henrik Rydgard
15de6e6b98 GraphicsContext: Abstract away things like swapbuffers etc before adding even more backends.
Needed to prevent clutter all over the codebase.

Does not go all the way yet, goal would be a common render loop between platforms but not there yet.
2016-01-01 14:40:16 +01:00
Karen Tsai
c4a28a2998 Restore JIT for armv7/armv7s iOS 9 devices, which were erroneously disabled when I fixed PPSSPP's arm64 crashing. 2015-12-28 14:20:28 -05:00
Unknown W. Brackets
29eea477b9 iOS: Return mobile for device type prop.
This makes touch controls show by default, for example.
2015-12-26 20:38:43 -08:00
Henrik Rydgård
7eb662fc6b Attempt at fixing scissor scaling issue on ios ( #8300 ) 2015-12-24 23:32:24 +01:00
Henrik Rydgard
732b1239e7 Add some permission infrastructure, add an ugly button that asks you to grant STORAGE permission if necessary. 2015-12-17 22:41:50 +01:00
Henrik Rydgård
3386f1e181 Merge pull request #8153 from angelXwind/SpringBoardAnimatedExit
Perform an animated exit to SpringBoard on iOS devices
2015-11-03 20:48:12 +01:00
Karen Tsai
063d519056 Perform an animated exit to SpringBoard on iOS devices as opposed to simply terminating PPSSPP (which could be misinterpreted for a crash) 2015-11-03 13:57:10 -05:00
Karen Tsai
1ba873a496 Override JIT setting in ppsspp.ini for JIT-incapable environments, fakesign PPSSPP binary via adhoc signing in order to prevent crash-at-launch on iOS 9, separate jailbreak detection logic from JIT support logic, temporary change to only enable JIT on iOS 8 and below. 2015-11-03 12:34:33 -05:00
mgaver
0fc2e9a77b Update PPSSPP-Info.plist
Relocate a launch image
2015-10-08 13:44:42 +09:00
Henrik Rydgard
d822cbf60b Move fbo.cpp/h from native into PPSSPP 2015-09-06 13:13:37 +02:00
Conrado
6d00a7722e Changed iOS icons to follow Apple directives (PNG24 with no transparency and no rounded corners). 2015-06-08 22:53:53 -03:00
Karen Tsai
dbd15420f5 Properly post lost_focus and got_focus notifications when iOS app resigns active state and gains active state. Fixes #7758 2015-05-27 02:35:09 -04:00
Karen Tsai
3501d9348d Map right thumbstick as another analog stick, particularly useful for controllers like the DualShock 3/4 when connected to an iOS device. Fixes #7762 2015-05-24 20:46:56 -04:00
Henrik Rydgard
8b05e7abf0 Adjust the audio speed on non-60hz Android devices to compensate.
Greatly improves audio stability on Nexus S.

Fixes #6677 .
2015-01-14 00:45:12 +01:00
Henrik Rydgard
51f352ee26 Delete unused code in DSoundStream, fix system_getpropertyint for iOS 2015-01-11 19:30:25 +01:00
Unknown W. Brackets
c0804427ef Merge remote-tracking branch pull/7047.
And fix the whitespace + optimize the pngs.
2014-11-04 01:46:00 -08:00
TwistedUmbrella
07f0478425 Xcode 6 / iPhone 6 compatibility updates 2014-11-04 03:37:40 -05:00
mgaver
7f3ab8715f use nativeScale insted of scale, works fine.
iPhone 6 Plus scale fix
2014-10-16 09:11:26 +09:00
mgaver
00173b7aee Update ViewController.mm
Fix scale for iPhone 6 Plus
2014-10-16 01:38:17 +09:00
TwistedUmbrella
ea67baa45b Revert "iOS: add LaunchScreen.xib for support iPhone 6 and 6 Plus native screen resolution"
This reverts commit 4dc6e26801.
2014-10-08 16:00:16 -04:00
TwistedUmbrella
3f3e464dae Revert "iOS: Add launch xib name to info.plist"
This reverts commit b7db78362d.
2014-10-08 15:59:18 -04:00
rock88
b7db78362d iOS: Add launch xib name to info.plist 2014-10-03 17:50:12 +07:00
rock88
4dc6e26801 iOS: add LaunchScreen.xib for support iPhone 6 and 6 Plus native screen resolution 2014-10-02 21:49:06 +07:00
rock88
5cb9bddea9 iOS: update few compiler path 2014-10-02 21:07:19 +07:00
Henrik Rydgård
5a0a182a82 Revert "Set NSPrincipalClass to get retina widget rendering on OS X" 2014-09-09 17:42:27 +02:00
Daniel Nagel
1c74f95018 Set NSPrincipalClass to get retina widget rendering on OS X 2014-09-04 12:05:21 +02:00
Henrik Rydgard
39cde7fc48 Hide "immersive mode" on pre-kitkat Android. 2014-07-20 12:11:50 +02:00
Sacha
92f8206fd7 CMake: Detect ARM from processor setting. 2014-06-18 15:37:12 +10:00
Henrik Rydgard
555d494658 Merge branch 'master' of github.com:rock88/ppsspp into rock88-master
Conflicts:
	ios/main.mm
2014-05-25 09:06:06 +02:00
Karen Tsai
3f99c2f2c7 Use tabs instead of spaces. 2014-05-22 03:56:33 -04:00
Karen Tsai
ab44947e00 Improved PPSSPP’s Vibrate() for iOS, now no longer gives you a hand massage. 2014-05-22 03:54:09 -04:00
Karen Tsai
b3b83b33cb Modified bundle ID to be consistent with other platforms. 2014-05-22 02:22:45 -04:00
Karen Tsai
195d9c7fd5 Added basic haptic feedback support for iOS platforms via AudioServicesPlaySystemSound(kSystemSoundID_Vibrate). Does not make use of length_ms… yet. Fixes issue #5614. 2014-05-22 02:20:43 -04:00
Andrey Konoplyankin
821dbb2b55 iOS: add GLES 3.0 support 2014-05-17 13:02:57 +07:00
Andrey Konoplyankin
b386456f44 iOS: transitioning few sources files to ARC 2014-05-17 12:59:13 +07:00
Andrey Konoplyankin
e98febfb91 iOS: implement Vibrate 2014-05-17 12:55:31 +07:00
Henrik Rydgard
7e9c0e766a Attempt temporary workaround for iOS shutdown issues. 2014-02-12 10:26:53 +01:00
sky-zer
90a8ea6a17 love tab not space 2014-02-02 18:50:29 +04:00
sky-zer
b59d7206f5 iOS JIT check correction. Check for controllers connected before launching PPSSPP. 2014-02-02 18:44:06 +04:00
sky-zer
e3f1fbb922 not need 2014-01-27 19:24:22 +04:00
sky-zer
789cb88797 Buildfix for iOS SDK < 7. Correct controller reconnection handling. 2014-01-27 18:32:19 +04:00
sky-zer
4f4edbe959 Refactoring. 2014-01-24 22:46:30 +04:00
sky-zer
55514ee58e iOS: MFi controllers support 2014-01-24 22:39:45 +04:00
W.MS/王京
55fdac7529 remove stupid iOS7 status bar 2014-01-22 13:12:36 +08:00
Henrik Rydgard
32f479b0a6 Assorted log spam reductions.
Also let Java know of some important events. Not used for anything yet.
2013-12-04 17:43:00 +01:00
W.MS/王京
6d4095abdf Disable vertex jit on jailed iOS devices 2013-12-02 10:48:52 +01:00
Unknown W. Brackets
f9522a5e7f iOS: buildfix, stub Vibrate() for now. 2013-10-13 12:12:36 -07:00
Unknown W. Brackets
0d045858e2 Buildfix for iOS. 2013-09-06 01:12:48 -07:00
Henrik Rydgard
c845da2887 Switch System_GetName to System_GetProperty 2013-09-04 11:31:40 +02:00
Unknown W. Brackets
8c4db99435 iOS buildfix. 2013-08-18 20:17:33 -07:00
Sacha
8b4280b297 Rename KEYCODE to NKCODE (native key code) to stop name collision. Implement Blackberry keymapping. 2013-08-05 03:31:40 +10:00
Jake Traynham
0e0aec812f Cleaned up iOS code and updated iCade support; Fixed at3+ download screen 2013-07-19 16:37:41 -05:00
Jake Traynham
7a5794b314 Added NewUI Support in iOS build 2013-07-19 16:37:40 -05:00
Jake Traynham
24961e28ef iOS Audio fixes 2013-06-25 16:18:16 -05:00
Jake Traynham
e89b2055a6 Reenabled armv7s for iOS with JIT fixes 2013-06-20 11:44:59 -05:00
Jake Traynham
4daa042529 added FFMPEG support in iOS build
Also added a new README with more detailed instructions on compiling
the iOS version
2013-06-13 12:07:09 -05:00
Jake Traynham
dc25d42eca Added iCade support to the iOS build 2013-05-30 20:58:41 -05:00
mgaver
60eb15f57a Update ViewController.mm
buildfix
2013-04-24 17:44:43 +09:00
Unknown W. Brackets
a457242982 iOS buildfix (thanks @ipodtouchdude.) 2013-04-24 01:16:01 -07:00
mgaver
71b8a30c65 Update ViewController.mm
Update a jailbreak detection.
2013-04-23 16:31:57 +09:00
Henrik Rydgard
3bd5146fbf iOS: Try to fix analog stick getting stuck. Blind fix :) 2013-03-31 14:21:53 +02:00
Unknown W. Brackets
cce038b009 iOS: Update Info.plist for iPad support (thanks @bsauvage1.)
Reportedly fixes #1015, reportedly fixes #1067.
2013-03-31 00:44:01 -07:00
Unknown W. Brackets
31206e356b iOS: Don't lock input state for so long. 2013-03-30 17:44:00 -07:00
rock88
4208f17c7c iOS: Fix input buttons sticking. 2013-03-30 17:12:45 -07:00
Unknown W. Brackets
7417188671 iOS: Port Android control fix. 2013-03-30 17:11:56 -07:00
Henrik Rydgard
724a600381 Buildfix android, misc other fixes, some include cleanup 2013-03-29 20:55:32 +01:00
Vladislav Korotnev
84efdc903c Enable iTunes file sharing (for those who install with Xcode and aren't jailbroken) 2013-03-18 21:10:40 +06:00
Unknown W. Brackets
e8ac8d49b6 iOS: Reduce CPU consumption for audio, adjust sync.
Still is clicking...
2013-03-16 14:00:41 -07:00
rock88
947f838165 IOS: added audio output 2013-03-16 12:54:16 -07:00
rock88
05bdc2cd2f IOS: iPhone/iPod 5 screen support 2013-03-16 12:53:30 -07:00
KentuckyCompass
e530a306ec Don't rotate to portrait and fix iOS 6 compatibility 2013-03-15 22:23:59 -07:00
Sacha
6a9e2e559c From rock88: Set max FPS to 60 instead of default 30 on iOS. 2013-03-15 12:30:40 +10:00
Sacha
f750724dea Fix iOS assets. Thanks rock88 2013-02-28 10:28:29 +10:00
Sacha
25a37e40dd Fix iOS directory structure in init/NativeInit. 2013-02-24 23:29:04 +10:00
Sacha
630ee68b05 Build fix for iOS. Now compiles. 2013-02-24 22:17:52 +10:00
Sacha
d284a5a413 Fix for iOS
Revert CLang to gcc.
Revert 60 fps (this wasn't working).
Revert rock88's pbxcp usage. This file is no longer available in XCode 4.4+.
2013-02-24 17:19:49 +10:00
Sacha
24ff143158 Set frame rate to 60 on iOS. Default was 30. 2013-02-24 14:42:12 +10:00
Sacha
e848d19dbe Fix for FBO on iOS devices. Allows buffered rendering (from rock88). 2013-02-24 13:47:45 +10:00
Sacha
0b8706684a Add iOS icons to project (from rock88). 2013-02-24 13:32:23 +10:00
Sacha
e3a953972a Fix for iOS CMake
Update toolchain file to reflect that we want to use clang (rock88 is using clang).
Set target in the CMake. Fix for packaging and signing (thanks rock88).
Update linking to include audio and GLKit (thanks rock88).
Update README
2013-02-24 13:23:04 +10:00
Sacha
8c80641b28 iOS redundancies
iOS simulator does not support requires GLES2.0 environment.
Remove all references to simulator.
Add support for armv7s (swift) arch.
2013-02-18 00:41:51 +10:00
Sacha
8ba2769d5e iOS Objective-C code dump.
ViewController courtesy of rock88.
Made modifications for simplification and code-style.
Still missing some files (eg. images). Also, CMake is not set up correctly yet.
2013-02-18 00:05:16 +10:00
Sacha
43de173f08 Update readme with potential iOS build instructions. Add an iOS cmake toolchain. 2013-02-13 16:39:53 +10:00