Commit Graph

52 Commits

Author SHA1 Message Date
Henrik Rydgård
a831cab14c
Remove unmotivated check preventing texture ini creation on mobile. (#15647)
* Remove unmotivated check preventing  texture ini creation on mobile.

Fixes #15644

* Show a "toast" message on platforms that don't support opening a text editor, when you try to create/open a texture ini file.

* Avoid the need to ifdef around calls to SystemToast

* UWP buildfix (and some warning fixes).

And possibly libretro fix

* Rename for a bit more consistency
2022-07-10 22:34:44 +02:00
Unknown W. Brackets
170441313c Net: Ignore SIGPIPE errors on POSIX systems.
This should work on BSD/macOS/Linux/iOS/similar.
2022-04-03 06:57:45 -07:00
Henrik Rydgård
725f054e17 iOS: Try a different JIT detection method, thanks Halo-Michael.
Also add an escape route from games list settings without a back button.

See #14240
2021-03-01 22:41:51 +01:00
Henrik Rydgård
45628cde95 Tweak to jit detection based on feedback to #14201 2021-03-01 13:04:55 +01:00
Henrik Rydgård
21511ac7b2 Don't even try the hack on iOS 14.4 2021-02-22 09:31:18 +01:00
Henrik Rydgård
bd7b283399 Add iOS version detection, turn off JIT on bootup if >= 14.3. 2021-02-22 09:16:51 +01:00
Unknown W. Brackets
eee529c6c9 UI: Cleanup Windows header in MainScreen.cpp.
Better to have this come from System, probably.  It's mainly for Windows
anyway, to alert people their save data isn't permanent.
2021-01-09 14:45:49 -08:00
Henrik Rydgård
1c753e4a22 Use hacky methods to retrieve SD card directory if available.
This will disappear in future Android versions but can be useful for
older devices.

Fixes (or at least tries to) #10199, at least for some devices.

Might help #13827 ?

Tested on Pocophone F1.
2021-01-07 00:55:35 +01:00
Henrik Rydgård
f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
821817e6d4 Move the profiler to Common 2020-10-04 11:42:16 +02:00
Florin9doi
4bebdb30c6 iOS : File association 2020-04-29 11:02:59 +03:00
Florin9doi
1ccde0427e iOS Share PPSSPP 2020-04-25 10:07:46 +03:00
Florin9doi
92754e6c45 [iOS] Notch support 2020-04-01 00:05:11 +03:00
Saagar Jha
99c631c791 Improve stability on non-jailbroken devices
By setting up a Mach exception handler, we can try to handle most
signals before they cause the system to hang. Since PT_TRACE_ME enables
CS_DEBUGGED on the parent process as well, we can simplify some of the
code as well.
2020-02-24 02:04:04 -08:00
Florin9doi
58b04ef77b QT Api for Camera (Linux/macOS)
Allow the use of different resolutions (win/android/iOS)
2020-02-10 08:47:55 +02:00
李通洲
55bb58e13e
NativeApp: add System_GetPropertyFloat all the places 2020-02-04 09:20:34 +08:00
Florin9doi
5fbf2d7713 Add camera/location support for iOS
Add front camera support for Android
Allow to change the active camera in-game
2020-01-25 16:54:45 +02:00
Sam Bingner
967c6f86b5 Use old jit enablement method if clean method fails 2019-10-16 12:19:47 -10:00
Sam Bingner
e3971dccbd
Fix fork logic 2019-10-14 17:33:04 -10:00
Sam Bingner
169473b7d0 Replace horrible hack with less horrible hack 2019-10-14 15:24:06 -10:00
Henrik Rydgård
da54c8d70c Experimentally revert a small part of #12094, ios external display support, that seemed to break exit. See #12140. 2019-07-07 20:01:31 +02:00
Xie Yi
1affe0bff3 Fix shutdown because of Discord deinitializer
f94beb5185/UI/DiscordIntegration.cpp (L40)
Calling exit(0) without NativeShutdown() breaks the assertion.
2019-06-11 14:44:06 +08:00
Jeeeyul Lee
53e254d352 Disables iOS exit animation to prevent freezing.
Selective PTRACE sys call.
2019-03-27 11:01:20 +09:00
Kentucky Compass
149ca17df6 iOS: fix hang on exit 2018-02-22 03:04:32 -08:00
Conrad Kreyling
0e474077e4 Add taptic feedback on virtual buttons 2018-01-14 13:38:18 -05:00
Kentucky Compass
873dcaa126 iOS: call PROFILE_INIT so we don't crash with USE_PROFILER 2018-01-01 19:10:45 -08:00
Kentucky Compass
20794081ea iOS: Nix iosCanUseJit and targetIsJailbroken. Move NativeInit call to main so it can take cmd line args. 2018-01-01 19:10:44 -08:00
Kentucky Compass
5b857f08ed Create AppDelegate the standard way instead of in PPSSPPUIApplication init 2017-12-31 16:02:01 -08:00
imxieyi
f0ba66fcd6 add support for smart keyboard 2017-09-04 15:05:46 +08:00
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 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
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 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
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
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
Henrik Rydgard
39cde7fc48 Hide "immersive mode" on pre-kitkat Android. 2014-07-20 12:11:50 +02: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
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
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
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
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