Commit Graph
293 Commits
Author SHA1 Message Date
Henrik Rydgård 38f4cc4cc9 Make reverse mapping lookup work for the simple PSP buttons. 2023-03-31 11:05:29 +02:00
Henrik Rydgård d586ec0d5e Don't create Host objects except in headless/unittest 2023-03-25 10:47:01 +01:00
Henrik Rydgård 9e125eeba7 Remove NotifyUserMessage from Host 2023-03-25 10:32:09 +01:00
Henrik Rydgård b440e28e38 Remove System_SendMessage!
iOS, Qt buildfixes
2023-03-22 23:52:51 +01:00
Henrik Rydgård 4c99712b60 And "immersive", "audio_resetDevice" 2023-03-22 23:52:38 +01:00
Henrik Rydgård ac47476253 And share_text, toast, recreate 2023-03-22 23:52:25 +01:00
Henrik Rydgård 87d0c21f14 Make proper requests for the external hardware commands (gps, microphone, camera) 2023-03-22 23:52:25 +01:00
Henrik Rydgård 5a55fd5fd3 And replace "graphics_restart", "toggle_fullscreen", etc 2023-03-22 23:52:15 +01:00
Henrik Rydgård 410b35fba3 Get rid of "finish" and "setclipboardtext" messages, replace with requests. 2023-03-22 22:17:26 +01:00
Henrik Rydgård b7350f3cbf Fix folder browser on Android and Windows 2023-03-22 19:25:35 +01:00
Henrik Rydgård 7718c06dd1 Port UWP file browser, fix UWP image browser 2023-03-22 15:36:14 +01:00
Henrik Rydgård 70f0ac04af Port the file browser spawned by the Load button to the new request stuff 2023-03-22 15:36:14 +01:00
Henrik Rydgård 0403bbf084 Make the new image selection path work on Android as well. 2023-03-22 14:53:07 +01:00
Henrik Rydgård e9f5394f59 Move the Windows open file dialog to the new system, switch the background image selector over. 2023-03-22 14:53:07 +01:00
Henrik Rydgård de064e210e Replace the inputbox queue with a more generic RequestManager. 2023-03-22 12:41:11 +01:00
Henrik Rydgård 06fcc9ccd7 Add System_Notify 2023-03-21 13:37:16 +01:00
Henrik Rydgård d3955b42bb Rename some system functions, merge the Launch* ones.
android launchurl buildfix
2023-03-21 12:22:59 +01:00
Henrik Rydgård a9eaa4fdc8 Get rid of an ifdef 2023-03-21 10:24:36 +01:00
Henrik Rydgård a43b62537a Buildfixes 2023-03-07 20:22:28 +01:00
Henrik Rydgård ac94d3febf VFS: Add support for opening zip files through a Content URI 2023-03-06 16:44:48 +01:00
Henrik Rydgård 53172eff63 Renaming and file splitting 2023-03-06 16:42:50 +01:00
Henrik Rydgård 3b39e9e068 Turn the VFS into a class, to be able to reuse it for other purposes. 2023-03-06 16:42:47 +01:00
Henrik Rydgård 31d796e769 Vulkan on Android: In non-debug mode, avoid devices that were rejected by VulkanMayBeAvailable.
Fixes #16931

Can still use these devices in debug builds by modifying the ini.
2023-02-28 18:18:19 +01:00
Henrik Rydgård 8b431b39ba Wrap the display globals in a struct (#16998)
* Wrap the display globals in a struct

Makes it easier to search/replace these, for future refactorings.

* Some renaming

* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)

* Attempt at buildfixing ios

* UWP buildfix
2023-02-25 13:09:44 +01:00
Henrik Rydgård d43452f0ce Fix to shutdown sequence 2023-01-30 11:49:31 +01:00
Henrik Rydgård 2659fd6f66 Android work. Make the Android OpenGL exit prodecure make more sense 2023-01-30 11:49:31 +01:00
Henrik Rydgård ea0eaa31e6 Remove the Android display resolution selector
I think its benefit is absolutely tiny if any, and causes a lot more
problems than it's worth. Bye.

Note that this isn't the rendering resolution selector, that will of
course still be there, but it's the "hardware scaler" resolution.
2023-01-11 22:53:42 +01:00
Henrik Rydgård 07114c6aaf Remove return value from axis functions in API 2023-01-10 10:12:37 +01:00
Henrik Rydgård fdfc4cbe40 Android: Remove return value from touch event functions 2023-01-10 10:12:33 +01:00
Henrik Rydgård ab6fafb6eb Invert dependency to avoid compile issues 2023-01-05 08:38:53 +01:00
Henrik Rydgård 7e374c9324 Address feedback, more fixes 2023-01-05 08:38:53 +01:00
Henrik Rydgård b56eef487c Strict mode checking - no way to forget detaching now.
And if we forget to attach, boom. Hopefully I caught all of them.
2023-01-05 08:38:52 +01:00
Henrik Rydgård 916404f0e4 Try to get a bit better at detaching threads that have used JNI from the VM. 2023-01-05 08:38:49 +01:00
Henrik Rydgård fd5a27f985 Some more paranoia. Name the EmuThread on Android, just because. 2022-12-31 15:18:14 +01:00
Henrik Rydgård 10c0b3f2ae Comment improvements 2022-12-29 00:39:59 +01:00
Henrik Rydgård 463d703feb More assorted cleanup 2022-12-29 00:39:59 +01:00
Henrik Rydgård 6927c44fba Remove unused functions, log and comment fixes 2022-12-29 00:39:59 +01:00
Henrik Rydgård db98ed9b7a More simplification. 2022-12-22 10:46:09 +01:00
Henrik Rydgård fe0f19fa31 Fix JNI leak in Android_GetInputDeviceDebugString, affecting TouchScreenTest 2022-12-22 10:35:34 +01:00
Henrik Rydgård a3bbaeb31d Simplify some more code in app-android.cpp 2022-12-22 10:35:18 +01:00
Henrik Rydgård afbf732d7e Delete even more dead code in app-android.cpp 2022-12-22 10:17:52 +01:00
Henrik Rydgård f0c6510727 Remove redundant variables 2022-12-22 10:05:21 +01:00
Henrik Rydgård f17f2f5bb5 Remove more dead code in app-android.cpp 2022-12-22 10:03:28 +01:00
Henrik Rydgård e209227be1 Delete dead code path (initialize EGL from C++ on Android) 2022-12-20 23:17:51 +01:00
Henrik Rydgård d8cf7ce30c Add stub symbol for 'utimensat', making it work on Android 2.3 again 2022-12-14 16:10:21 +01:00
Lubos 3cc979859c OpenXR - Release keys on activation of camera adjust 2022-12-10 21:31:39 +01:00
Lubos db8b159d9e OpenXR - Force PSP menu aspect ratio 2022-11-17 17:30:29 +01:00
Lubos ddad6b3760 OpenXR - Support axis 2022-11-17 10:52:12 +01:00
Henrik Rydgård dd0409d68c OpenGL ES: Crash as early as possible if things are bad
There's a huge variety of crash report in the Play Console of various
opengl failures. Try to concentrate them to early points in
initialization
2022-11-08 10:43:38 +01:00
Henrik Rydgård ecd62e7eb2 Lift length limit on Android logging 2022-11-08 00:21:37 +01:00