Commit Graph

225 Commits

Author SHA1 Message Date
Henrik Rydgård
5735b9a8ac Buildfixes for libretro, ios 2023-01-30 15:57:18 +01:00
Henrik Rydgård
6f703128ec Experimentally revert "Delete some misguided FPU control code, that we definitely don't want"
This reverts commit d52d383c22.
2022-10-10 18:35:29 +02:00
Henrik Rydgård
d52d383c22 Delete some misguided FPU control code, that we definitely don't want 2022-10-10 10:46:51 +02:00
Halo-Michael
58d28b4e4d
Assign value to version where appropriate 2022-08-14 02:42:05 +08:00
Halo-Michael
c7f261cf86 Update 2022-08-13 17:56:27 +08:00
Halo-Michael
856c5e58c4 A better way to get property 2022-08-13 17:15:21 +08:00
Halo-Michael
3ac120d96d
Merge branch 'hrydgard:master' into master 2022-08-13 16:18:23 +08:00
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
536c050943 Core: Track names of connected pad devices.
Rather than just that it's a pad.  This tries to get the identifier if
possible.
2022-07-04 19:14:04 -07:00
Halo-Michael
232224dbce Merge update into master 2022-05-30 06:30:10 +08: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
Yifan Gu
633a6f612b Refactor and unify analog input settings 2021-07-05 12:38:46 +02:00
Unknown W. Brackets
62da29505a iOS: Guard extended button selector access.
See #14495.
2021-06-02 21:20:18 -07:00
Henrik Rydgård
0150dcfd44 Change pointer ID allocation on iOS. Fixes part of #14240
The dialog code checks for touch.id != 0 to decide whether to close.

Not sure if really necessary, but keeping it and just changing the IDs.
2021-04-17 12:11:21 +02:00
Unknown W. Brackets
cb9a22c0cb Build: Recompress pngs using better zlib.
Used pngwolf to recompress all pngs.  Not a big change, but should
slightly reduce app download size.
2021-04-11 11:09:18 -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
b77d47e357 iOS: Undo app ID change. 2021-02-20 07:03:39 -08:00
Henrik Rydgård
224bd05b4c iOS: Fix multitouch tracking.
Patterned on #9602.

Fixes #5099.

Note that the iPhone supports max 5 touches and will cancel all on the 6th touch.
That's platform behavior that can't be changed. We interpret touch cancellation
as touch up.
2021-02-20 13:16:09 +01:00
Henrik Rydgård
1759f1fad8 CMake fixes and new --ios-xcode ./b.sh command.
Also enables stencil for the iOS backbuffer. Fixes the GPU test and will doubtlessly
fix problems with running non-buffered (which you shouldn't do anyway though).

Slim alternative to #13766 with less risk to buildbots.
2021-01-17 11:34:27 +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
Unknown W. Brackets
20d161f4a3 iOS: Change iOS 13 check. 2021-01-05 07:21:58 -08:00
Unknown W. Brackets
43948d4d4a iOS: Expose iOS 12.1+/13/14 buttons.
Now with corrected version checks.
2021-01-02 12:57:58 -08:00
Henrik Rydgård
c4d6c19725 Revert "Merge pull request #13807 from unknownbrackets/ios-buttons"
Temporary, see #13824

This reverts commit b40385396a, reversing
changes made to 98e82c5c63.
2020-12-27 17:06:53 +01:00
Unknown W. Brackets
05b05618e2 iOS: Expose iOS 12.1+ buttons. 2020-12-23 08:49:35 -08:00
Henrik Rydgård
207b76da6e Show an error on screen if a shader fails to compile.
Part of #1 investigation of #13541
2020-11-05 08:27:13 +01:00
Henrik Rydgård
0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
6ea8af2939 iOS buildfix 2020-10-04 13:26:04 +02: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
b7edf75437 Move Display.cpp/h to Common. 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
Henrik Rydgård
989e353482 Common.h shouldn't include Log.h.
Buildfixes

More buildfixes. Move JSON code to common.
2020-10-04 11:42:14 +02:00
Henrik Rydgård
de3b46077a iOS buildfix attempt 2020-10-04 08:25:11 +02:00
Henrik Rydgård
342ed97291 Move input utilities from native to Common/Input. 2020-10-01 09:42:32 +02:00
Henrik Rydgård
054acf768c Don't cache time in a variable.
A little weirdness in the code that has stuck around for a long, long
time. It's really not necessary and mostly just confusing.
2020-09-24 23:52:43 +02:00
Henrik Rydgård
ccc0331279 Move timeutil to Common. (Experiment to see how much work it is to move these). 2020-08-15 20:53:08 +02:00
Henrik Rydgård
80e0f85332 Getting really close to getting rid of base/logging.h now.
Qt buildfix
2020-08-15 19:09:01 +02:00
Henrik Rydgård
c5e0b799d9 Remove category from _assert_msg_ functions. We don't filter these by category anyway.
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
Henrik Rydgård
6560192d8e Support full VSync control in SDL OpenGL.
(Not yet Qt).

Forgot about iOS

SDL headless buildfix

Additional iOS buildfix
2020-07-19 12:07:16 +02:00
Florin9doi
bc948b9b94 iOS/macOS : set bundle version 2020-05-01 21:36:55 +03: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
Unknown W. Brackets
051a84e9bd GPU: Restart when changing inflight frames setting.
We need to keep the push and pull in step, so changing at runtime is
messy.
2020-03-02 19:21:15 -08: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