9114 Commits

Author SHA1 Message Date
FearlessTobi
18dd8a2ce5 Remove unused code
Original commit by weihuoya for Dolphin-emu.
2021-02-21 18:06:24 -05:00
FearlessTobi
32917eeedf Fix for crash when switching to landscape mode
bugs.dolphin-emu.org/issues/10815

Original commit by allanxp4 for Dolphin-emu.
2021-02-21 18:06:24 -05:00
FearlessTobi
ab7ad1ab53 Android: Bunch of cleanups & Updates
1. Update Picasso to latest version
2. Remove some unused code

Original commit by mahdihijazi for Dolphin-emu.
2021-02-21 18:06:24 -05:00
FearlessTobi
bf0322151a Android: fix/ignore L2/R2 buttons
L2/R2 will trigger a key press and an axis event if the trigger is pressed fully down
Was incorrectly ignoring L1/R1 key presses.

Original commit by zackhow for Dolphin-emu.
2021-02-21 18:06:24 -05:00
FearlessTobi
fde1d3fec0 Android: don't try to pause emulation when not running
Forcing landscape at emulation start revealed a bug where if the activity was
recreated before emulation started then it would get stuck in a paused state.

Original commit by zackhow for Dolphin-emu.
2021-02-21 18:06:24 -05:00
FearlessTobi
d371d75b2a Android: Remove the cancel button from the file browser
Fix the regresion from dolphin-emu/dolphin#7520, also it applies the change
to the directory picker only.

Original commit by mahdihijazi for Dolphin-emu.
2021-02-21 18:06:24 -05:00
FearlessTobi
7378497373 Android: Change the file browser dialog ok button title
I hope this will make it more clear to users that they are suppose to
select the dircetory that has the games.

Original commit by mahdihijazi for Dolphin-emu.
2021-02-21 18:06:24 -05:00
FearlessTobi
de1da36392 android: remove enter and exit transition
Originally done by weihuoya for Dolphin-emu.
2021-02-21 18:06:24 -05:00
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