9106 Commits

Author SHA1 Message Date
FearlessTobi
c61b903a9c Android: Run Directory Initialization as a thread instead of service
Two reasons for this change. First, it appears that some android launchers do some sort of call into
the application when long pressing the app icon, which in turn calls the DirectoryInit service. This
was ok to do prior to Oreo but will cause crashes with the new restrictions on services running
in the background. Which leads to the second reason that DirectoryInit doesn't need to be a service
at all since these actions are required for dolphin to function and shouldn't be a scheduled action.
So we instead just kick this off in a new thread and send the broadcast when done.

Original commit by zackhow for Dolphin-emu
2021-02-21 18:06:24 -05:00
Marshall Mohror
dead5b1808 android: implement motion controls via device sensors 2021-02-21 18:06:24 -05:00
SachinVin
3fd28ba49d android: jni: Remove unused ndk_helper after EGL migration + cleanup jni/CMakeLists.txt 2021-02-21 18:06:24 -05:00
BreadFish64
24e567f6ae android: allow changing settings while game is running 2021-02-21 18:06:24 -05:00
bunnei
eb6624f1f5 android: frontend: Limit game list to a single directory. 2021-02-21 18:06:24 -05:00
bunnei
be913a1905 android: frontend: MainActivity: Fix issues with declining app permissions. 2021-02-21 18:06:24 -05:00
bunnei
464ae4b70a android: build.gradle: Bump minimum version to 26. 2021-02-21 18:06:24 -05:00
bunnei
c4cf1a9317 android: Rename app package from citra_android to citra_emu.
- There is already a conflicting name on the Play Store.
2021-02-21 18:06:24 -05:00
bunnei
4f6c81b79b android: emu_window: Fix surface width/height.
- Fixes a bug when resuming the app.
2021-02-21 18:06:24 -05:00
bunnei
99c583dbaa android: AndroidManifest: Use singleTop mode, not singleInstance.
- Fixes launching the app without restarting the emulation activity.
2021-02-21 18:06:24 -05:00
bunnei
813fc071d1 android: frontend: game_list: Move add directory button to top bar. 2021-02-21 18:06:24 -05:00
bunnei
7f8cc1ac19 android: frontend: game_list: Tweak game cards. 2021-02-21 18:06:24 -05:00
bunnei
97de618506 android: frontend: game_list: Rounded icons and other UX improvements. 2021-02-21 18:06:24 -05:00
bunnei
9c7a545d32 android: frontend: Add vsync to the settings now that it is supported. 2021-02-21 18:06:24 -05:00
bunnei
774282dc4d android: emu_window: Adapt for use with split presenter thread. 2021-02-21 18:06:24 -05:00
bunnei
bb4c92aabe android: Update .gitignore for CXX compile cache. 2021-02-21 18:06:24 -05:00
bunnei
7ee887218b android: renderer_opengl: Various fixes for GLES. 2021-02-21 18:06:24 -05:00
bunnei
c90a99a327 android: log: TrimSourcePath: Cannot be constexpr. 2021-02-21 18:06:24 -05:00
SachinVin
8c42f312a6 Android: frontend: use android.R.string.ok instead of literal 2021-02-21 18:06:24 -05:00
SachinVin
ca29e322ab Android: Settings: Center the setting title when no setting description is provided. 2021-02-21 18:06:23 -05:00
bunnei
bfbb72722c android: video_core: Enable HW shadows and texture barrier on GLES. 2021-02-21 18:06:23 -05:00
bunnei
572df50c79 video_core: gl_shader_manager: Only set shader samplers on fragment shader.
- Avoids unnecessary uniform errors.
2021-02-21 18:06:23 -05:00
bunnei
2a4cf63631 android: video_core: Require GLES 3.2 in shaders. 2021-02-21 18:06:23 -05:00
bunnei
9da36dc5fd android: native: Change order of EmuWindow teardown.
- This needs to happen after system shutdown for asynchronous GPU.
2021-02-21 18:06:23 -05:00
bunnei
798ac32f47 android: video_core: gl_rasterizer_cache: Make cache access thread safe. 2021-02-21 18:06:23 -05:00
bunnei
9a08c3e26d android: audio_core: Remove noisy log. 2021-02-21 18:06:23 -05:00
bunnei
deb9349e06 android: core: frontend: Port yuzu's code for scope acquire window context. 2021-02-21 18:06:23 -05:00
bunnei
18181ab361 android: res: Update the launcher icon. 2021-02-21 18:06:23 -05:00
bunnei
9a44c88087 android: frontend: FPS overlay: Add some minor margin. 2021-02-21 18:06:23 -05:00
bunnei
a50498f3ad android: jni: Migrate EmuWindow_Android class to EGL.
- This enables us to use shared contexts more easily.
2021-02-21 18:06:23 -05:00
bunnei
db0cafa15f android: frontend: Add errors for unsupported ROM formats. 2021-02-21 18:06:23 -05:00
bunnei
de5b9b8caf android: renderer_opengl: Partially implement glLogicOp on GLES. 2021-02-21 18:06:23 -05:00
SachinVin
5ceca646b3 android/GameDatabase.java: remove duplicate ".3ds" from allowedExtensions 2021-02-21 18:06:23 -05:00
bunnei
f2c2140748 android: renderer_opengl: Optimize GetTexImageOES and fix bugs. 2021-02-21 18:06:23 -05:00
bunnei
d62ef07f84 android: settings: Add system language setting. 2021-02-21 18:06:23 -05:00
bunnei
9d98605125 android: settings: Fix bug where changing speed limiter will slow game down. 2021-02-21 18:06:23 -05:00
bunnei
e5fa95cda2 android: frontend: Support 18.5:9 aspect ratio. 2021-02-21 18:06:23 -05:00
bunnei
ef66dec71a android: frontend: Further simplify show FPS overlay text. 2021-02-21 18:06:23 -05:00
bunnei
c3706ea6bc android: frontend: Fix several issues with running notification.
- Priority should be low without sound/vibration.
- Notification should restore app.
2021-02-21 18:06:23 -05:00
bunnei
756c1fe28e android: frontend: Use color white for FPS overlay. 2021-02-21 18:06:23 -05:00
bunnei
e2fda98dcf android: frontend: settings: Temporarily disable V-Sync. 2021-02-21 18:06:23 -05:00
bunnei
288df380a9 android: frontend: Rename settings hint to "Settings". 2021-02-21 18:06:23 -05:00
bunnei
0763ab77d0 android: frontend: New and improved launcher icon. 2021-02-21 18:06:23 -05:00
bunnei
7ad5fc6cc6 android: frontend: startup: Improve startup and permissions handling.
- Fixes a first boot crash.
2021-02-21 18:06:23 -05:00
bunnei
10c7a2f102 android: frontend: settings: Disable audio stretching by default. 2021-02-21 18:06:23 -05:00
bunnei
8e11367074 android: frontend: settings: Accurate shader multiplication should be disabled. 2021-02-21 18:06:23 -05:00
bunnei
e0ac8635e3 android: frontend: settings: Simplify sliders. 2021-02-21 18:06:23 -05:00
bunnei
a927bad573 android: frontend: menu: Improve in game options, make check boxes. 2021-02-21 18:06:23 -05:00
bunnei
07848c7368 android: frontend: Implement persistent notification while emulator is running. 2021-02-21 18:06:23 -05:00
bunnei
a7f33affdc android: Rename main entry class to CitraApplication. 2021-02-21 18:06:23 -05:00