Henrik Rydgård
f36c85d099
Comment cleanup, allow file picker as far back as KitKat.
2021-02-27 22:32:54 +01:00
Henrik Rydgård
e60b38b6cb
Address feedback, remove probably-misleading comment (had already fixed it).
2021-02-27 22:19:03 +01:00
Henrik Rydgård
54c9e28444
Android: Implement opening ISOs through a file picker and Storage Access Framework
...
Has issues with the recent list - fails to open during shutdown due to
no activity, there's a little race to fix.
2021-02-27 13:49:20 +01:00
Henrik Rydgård
26eab06886
Add a Storage tab to System Information.
...
Add a system property that we can later query to see if we should use
scoped storage adaptations or not.
2021-02-27 11:49:38 +01:00
Henrik Rydgård
21511ac7b2
Don't even try the hack on iOS 14.4
2021-02-22 09:31:18 +01:00
Unknown W. Brackets
fb7e4acb06
Android: Ensure shutdown waits for render.
...
We apparently have a case where render is busy during shutdown, based on
crash reports.
2021-02-13 12:49:48 -08: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
db545ac034
Enable using the folder browser on Android to select SD card through a gross hack.
...
Should help #13827
Not yet using storage framework properly, just stealing the URI.
2021-01-09 11:20:20 +01:00
Henrik Rydgård
401d9ca469
Add a file picker (WIP)
2021-01-09 01:09:21 +01:00
Unknown W. Brackets
57fda69e50
Android: Minor cleanup.
2021-01-07 22:41:38 -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
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
Florin9doi
6531c7f4f8
[Android] Retrieve isMicStarted from AndroidAudio state
2020-10-24 20:16:22 +03:00
Florin9doi
a42f5234c5
[Android] Start recording immediately after asking for permission
2020-10-24 19:51:31 +03:00
Florin9doi
9379fe1399
[Android] Audio record using OpenSL
2020-10-24 19:51:30 +03: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
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
9e41fafd0d
Move math and some file and data conversion files out from native to Common.
...
Buildfixing
Move some file util files
Buildfix
Move KeyMap.cpp/h to Core where they belong better.
libretro buildfix attempt
Move ini_file
More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +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
15382d5f94
Move threading utils from native to Common
2020-10-01 09:27:25 +02:00
Henrik Rydgård
40ec0d8358
Finish getting rid of basictypes.h
2020-09-29 15:51:51 +02:00
Henrik Rydgård
ed88761ecc
Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h.
2020-09-29 15:51:51 +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
f0d2f24658
Finally delete base/logging.cpp/h. Carefully preserve behaviour on Android.
...
There's more cleanup to do ...
2020-08-15 19:09:09 +02:00
Henrik Rydgård
5117ded378
Remove ELOG/ILOG/WLOG from the Android C++ code (mostly)
2020-08-15 19:08:39 +02:00
Henrik Rydgård
73166def93
Android: Reduce asserts during startup.
2020-07-28 19:06:29 +02:00
Henrik Rydgård
aebbff55f1
Some renaming and cleanup in the Android audio code
2020-07-28 14:24:40 +02:00
Henrik Rydgård
06d57b1656
GL: Add some paranoid checks. Remove a useless option.
2020-07-28 14:24:36 +02:00
Unknown W. Brackets
54896432df
Android: Oops, fix start with space in filename.
2020-05-12 21:21:22 -07:00
Unknown W. Brackets
b1ae90dd03
Global: Add some defs for MSVC highlighting.
...
Just want this file not to be a sea of errors. Before it said ifs etc.
were wrong too, because it didn't think things were functions.
2020-05-12 21:20:50 -07:00
Unknown W. Brackets
ccc7ae54af
Android: Avoid multiple resizes in a row.
...
This was sometimes happening when ui callbacks etc. would trigger in
certain patterns of using the app. Might have been related to sizing
problems.
Delaying the resize by 10ms when the surface is unchanged seems okay.
2020-05-09 14:47:48 -07:00
Unknown W. Brackets
03fc86a147
UI: Return to game settings after restart.
...
This is more convenient. Also restarts the game if needed.
Added a way to pass args to Android here as well, and fixed displaying an
error if the shortcut file doesn't exist on Android (like if you deleted
it after creating the shortcut.)
2020-05-09 13:53:42 -07:00
Henrik Rydgård
3838a1c94f
Support drawing around notches on Android displays. Fixes #12261
2020-03-31 00:47:01 +02:00
Unknown W. Brackets
7d00cefd35
Android: Fix dismiss of OSK dialog.
2020-03-21 11:06:40 -07:00
Unknown W. Brackets
51b94a9c9c
Core: Quiet some warnings.
2020-03-10 22:19:59 -07:00
Unknown W. Brackets
f46231f2f4
Android: Avoid translation conflict in translation.
...
Using a magic pattern isn't ideal, but the user input can safely have
these characters without issue. It only affects the input title.
2020-03-08 20:45:01 -07:00
Unknown W. Brackets
a3e12f4242
Android: Process input prompts more clearly.
...
This way, the processing is generally inline or explicitly a callback.
There's also less parsing issues since all the parsing is centralized.
2020-03-08 20:45:01 -07:00
李通洲
55bb58e13e
NativeApp: add System_GetPropertyFloat all the places
2020-02-04 09:20:34 +08:00
Florin9doi
83277680da
Location: add HDOP; change speed to km/h; change altitude from geoid to sea level
...
The speed is now close to the value obtained on original hardware but
the altitude on original hardawre is too imprecise to tell if we're good
2020-01-26 14:19:45 +02:00
Florin9doi
2b57d2365f
Android satellites info
2020-01-26 09:22:24 +02: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
Henrik Rydgård
f342d8d856
Logging improvements
2019-10-06 13:21:57 +02:00
Henrik Rydgård
0698944752
Fixes
2019-10-06 00:20:49 +02:00
Henrik Rydgård
c023cd7e20
Make use of OnSystemUiVisibilityChangeListener to check whether navbar is hidden. Affects DPI calculations.
...
Also recalculate all dp parameters after either display or buffer size changed.
2019-10-05 23:30:50 +02:00
Henrik Rydgård
e69b71b58f
Remove some legacy
2019-09-17 23:26:42 +02:00