8909 Commits

Author SHA1 Message Date
BreadFish64
09ee2bee0d video_core: disable depth/stencil texture download on OpenGL ES 2020-05-13 14:35:52 -04:00
BreadFish64
50c9be0090 android: disallow split screen 2020-05-13 14:35:51 -04:00
FearlessTobi
5949cc29da android/settings: Move VSync option to debug
Dolphin does the same and there's no real reason the users should mess with it.
2020-05-13 14:35:51 -04:00
FearlessTobi
3fd61d4243 android/NativeLibrary: Use Html.FROM_HTML_MODE_LEGACY
Fixes a deprecation warning.
2020-05-13 14:35:51 -04:00
FearlessTobi
07b660714b android: Make more Strings translatable 2020-05-13 14:35:51 -04:00
FearlessTobi
9027224a46 android: Fix the menu animations
Turns out those unused methods were actually used for something.
2020-05-13 14:35:50 -04:00
FearlessTobi
6465179af8 AndroidManifest: Workaround the crash when changing Theme while in settings
Essentially extends upon https://github.com/dolphin-emu/dolphin/pull/8288.

Original description:
"The "correct way" would be to fully save and restore data on onSaveInstanceState and restore it back on onCreate. I tried to do that first.
As there is various conflicts with doing this without some form of refactor due to how the lifecycle diverges and is baked-in to the application, ignoring Activity recreation on orientation change should work well enough and we don't draw anything different in settings on landscape mode or ui mode anyway."
2020-05-13 14:35:50 -04:00
FearlessTobi
448330889b android: Show a hint when the gamelist is empty 2020-05-13 14:35:50 -04:00
FearlessTobi
49d3bbac25 Make the gamelist look nicer and indicate files with a wrong extension visually 2020-05-13 14:35:50 -04:00
FearlessTobi
2d0f4f632b android: Change plus icon to folder icon because we don't support multiple directories 2020-05-13 14:35:50 -04:00
FearlessTobi
ed32236889 android: Add realtime audio setting 2020-05-13 14:35:49 -04:00
FearlessTobi
77d3fbc618 audio_core: Add realtime audio 2020-05-13 14:35:49 -04:00
BreadFish64
67a5570617 video_core: bump swap chain size for GLES to reduce bottleneck 2020-05-13 14:35:49 -04:00
BreadFish64
e4d79f8e55 video_core: implement optimized D24S8->RGBA8 reinterpreters 2020-05-13 14:35:49 -04:00
James Rowe
5c16fee03f Use immutable storage when available 2020-05-13 14:35:48 -04:00
BreadFish64
d734e93300 android: disable OpenGL debug message again 2020-05-13 14:35:48 -04:00
BreadFish64
a0a779242d android: fix opening settings menu in-game 2020-05-13 14:35:48 -04:00
SachinVin
5615cbaeb6 android: SettingsFragmentPresenter.java: correct the section used in debug tab
Fixes setting always showing the default value.
2020-05-13 14:35:48 -04:00
BreadFish64
5f339d6553 video_core: implement GLES depth/stencil downloads 2020-05-13 14:35:47 -04:00
FearlessTobi
910640dc41 android: Add debug tab 2020-05-13 14:35:47 -04:00
FearlessTobi
840bf5d248 Optimize imports 2020-05-13 14:35:47 -04:00
FearlessTobi
4273e24ec6 android: Complete the removal of ATV and address minor Linter warnings 2020-05-13 14:35:47 -04:00
FearlessTobi
194d73dc74 android: Remove obsolete AndroidTV mode and its resources 2020-05-13 14:35:46 -04:00
BreadFish64
1bbfad2d7a android: add texture filter setting 2020-05-13 14:35:46 -04:00
BreadFish64
49a92f786e android: Add StringSingleChoiceSetting 2020-05-13 14:35:46 -04:00
BreadFish64
f42c22f30d video_core: fix texture filters in GLES 2020-05-13 14:35:46 -04:00
zhupengfei
8dafb26e66 android/swkbd: Properly set uncancelable
When using a DialogFragment you have to set this property on the DialogFragment itself.
2020-05-13 14:35:46 -04:00
FearlessTobi
599390be88 Android: Disable automatic backup
Since we don't have proper confuguration file of what to include/exclude
in the backup, this better be disabled because it will lead to unexpected
state. This will solve any issue that was keep hapenning even after fresh
install of the emulator until you manually clear the app data.

Original commit by mahdihijazi for Dolphin-emu.
2020-05-13 14:35:45 -04:00
FearlessTobi
8fa9eed9fc build: Fix abiFilter 2020-05-13 14:35:45 -04:00
FearlessTobi
dab76f088f jni/config: Set is_new_3ds to true by default 2020-05-13 14:35:45 -04:00
zhupengfei
1bd4b496dc res: Add Chinese (zh) translation 2020-05-13 14:35:45 -04:00
FearlessTobi
d2cfac6d5a android/strings: Add German translation 2020-05-13 14:35:44 -04:00
FearlessTobi
7fd97a4128 Android: Reflect the settings that is being used by the emulator on the UI
Per-Game settings now load the settings in this order
1. Emulator Settings
2. Default Settings of the Game that we ship with Dolphin
3. Custom game settings the user have

where the later always overides the former in case of collision, then
we show that on the UI to make it clear to the user which settings being
used.

Original commit by mahdihijazi for Dolphin-emu.
2020-05-13 14:35:44 -04:00
FearlessTobi
6ddeaeb3e2 strings: Add the performance warning to the translatable strings 2020-05-13 14:35:44 -04:00
FearlessTobi
4d408a2943 Android: Fix custom game settings
Apparently there was a different section names used by the custom game
settings that caused Android to have those settings broken for
some sections like the graphics one. This adds the map between the generic
settings <> custom settings.

Original commit by mahdihijazi for Dolphin-emu.
2020-05-13 14:35:44 -04:00
FearlessTobi
ea8694413e Android: Refactor the settings managemnt
1. Create Settings class the encaupslate the loading/saving of all settings
2. Decouple the logic of saving the settings into 3 different config files
from the UI code.
2020-05-13 14:35:44 -04:00
FearlessTobi
edd1798798 Android: Start structure the project around features instead of data types
This only moves the settings feature, the rest will be moved slowely later.

Original commit by mahdihijazi for Dolphin-emu.
2020-05-13 14:35:43 -04:00
zhupengfei
75fe220843 android/swkbd: Fix rotation crash
Create a new DialogFragment to manage the dialog's state.
Also replaced AlertDialog with the androidx one which arguably looks better.
2020-05-13 14:35:43 -04:00
FearlessTobi
0ffbc02b64 Clean up unused resources and resolve linter warnings 2020-05-13 14:35:43 -04:00
BreadFish64
f482518614 android/config: initialize cpu_clock_frequency
leaving it uninitialized broke some games for obvious reasons
2020-05-13 14:35:42 -04:00
BreadFish64
313535f579 android: don't use ScopeAcquireContext in RunCitra
The context will be released when window is destroyed
2020-05-13 14:35:42 -04:00
zhupengfei
8675a2198b Fix incorrect import due to library change 2020-05-13 14:35:42 -04:00
zhupengfei
be358099a5 android: SoftwareKeyboard implementation 2020-05-13 14:35:42 -04:00
BreadFish64
09719a0684 android/ndk_motion: remove ALooper_release from ndk_motion destructor
We didn't acquire the looper from another thread so this is not correct
2020-05-13 14:35:41 -04:00
BreadFish64
f3a7b85305 android: jni cleanup 2020-05-13 14:35:41 -04:00
FearlessTobi
da0b980ad3 Remove unused code 2020-05-13 14:35:41 -04:00
FearlessTobi
b54fd7b65a Fix a bunch of issues found by the Linter and rename Dolphin functions to Citra 2020-05-13 14:35:41 -04:00
FearlessTobi
b19958b5e6 Android: Set up Day/Night mode for system-compatible optional dark theme
Original commit by TheRealPSV for Dolphin-emu.
2020-05-13 14:35:41 -04:00
FearlessTobi
0778afb62e Android: Fix displaying checkbox settings with no description
bugs.dolphin-emu.org/issues/11904.

Original commit by JosJuice for Dolphin-emu.
2020-05-13 14:35:40 -04:00
FearlessTobi
a7e83a5e70 Moves AlertDialogs imports to AndroidX and fix tabs background color
Original commit by rafaeltoledo for Dolphin-emu.
2020-05-13 14:35:40 -04:00