9137 Commits

Author SHA1 Message Date
bunnei
1550c0e955 android: MainActivity: Fix a nullptr exception with onSaveInstanceState. 2020-08-15 13:58:49 -04:00
bunnei
fb0b52431b android: SettingsFragmentPresenter: Fix a nullptr exception with loadSettingsList. 2020-08-15 13:58:49 -04:00
bunnei
1d083cc7db Revert "Presenting in ui thread (#92)"
This reverts commit d1c2e8fb88873bf8642d07ca7e386cc1bac19692.
2020-08-15 13:58:49 -04:00
bunnei
fe4ff50d5b android: native: Reload game specific settings when in game. 2020-08-15 13:58:49 -04:00
zhang wei
fb6c29ef9c Presenting in ui thread (#92)
* present in ui thread

* rm test file

* use gradle 3.6.3

* fx present issue
2020-08-15 13:58:49 -04:00
xperia64
e2421a83ad Disable deptch stencil shader in texture_downloader_es for now 2020-08-15 13:58:49 -04:00
SachinVin
fac744a760 android : Fix touchscreen for reals
Adds proper multitouch tracking for touchscreen
2020-08-15 13:58:49 -04:00
SachinVin
a4d58bb800 core/frontend/emu_window: return true when TouchPressed is consumed 2020-08-15 13:58:49 -04:00
xperia64
32b872db59 Clamp the circle pad more correctly 2020-08-15 13:58:49 -04:00
xperia64
a61f1f3c26 Fix the N3DS controls 2020-08-15 13:58:49 -04:00
xperia64
4df093bfb4 Shield TV driver bug workaround 2020-08-15 13:58:49 -04:00
SachinVin
6bf39d0fa6 android : InputOverlayDrawableDpad.java: Initialize mTrackId to -1 2020-08-15 13:58:49 -04:00
SachinVin
c9bd7ac4a8 android: Bring back git hash version name 2020-08-15 13:58:49 -04:00
bunnei
414be2fb1f android: game_settings: Mario & Luigi games require accurate mul. 2020-08-15 13:58:49 -04:00
BreadFish64
c7e81bc936 video_core/GLES: fix issues cause by missing glTextureBarrier
create a duplicate for sampling instead
2020-08-15 13:58:49 -04:00
BreadFish64
6c5f1677fe actually add icons 2020-08-15 13:58:49 -04:00
BreadFish64
27904df199 add icon to CIA install menu item 2020-08-15 13:58:49 -04:00
BreadFish64
5702238c3c refresh game list after installing CIA 2020-08-15 13:58:49 -04:00
BreadFish64
1ff5dabb71 android: Add initial CIA installation 2020-08-15 13:58:49 -04:00
bunnei
2650233845 android: game_settings: Further cleanups. 2020-08-15 13:58:49 -04:00
bunnei
f543398dfb android: native: Set game specific settings before initializing core.
- Allows some other settings to be overridden.
2020-08-15 13:58:49 -04:00
bunnei
6ad08c1d78 android: game_settings: Disable asynch GPU with DQ7.
- This was causing some issues.
2020-08-15 13:58:49 -04:00
Nathan Lepori
f622b67c13 Implemented joystick-style directional pad overlay 2020-08-15 13:58:49 -04:00
SutandoTsukai181
e77c163f6e android: frontend: Start a service to keep the persistent notification 2020-08-15 13:58:49 -04:00
meteoorkip
d710f0c11d Make touch joystick re-centering configurable 2020-08-15 13:58:49 -04:00
SachinVin
527c26afbb gl_shader_gen.cpp:fix implicit type conversion error for gles 2020-08-15 13:58:49 -04:00
SachinVin
c106ccc2e7 android:InputOverlay: Bit mask touch action so they are aevaluated properly
event.getAction() returns the action only in the lower byte, this works fine when the pointer index is zero and any additional indexes are not captured
2020-08-15 13:58:49 -04:00
SutandoTsukai181
a95aa6ad3f Use fixed indices for button order
Apps always return 3 strings, even if there is no custom text, so the index should be constant for each button.

The "OK" button is always at index 2.
2020-08-15 13:58:49 -04:00
bunnei
cfa38feeba android: game_settings: Make SM3DL's GPU timing synchronous.
- Fixes reported white screen bug.
2020-08-15 13:58:49 -04:00
bunnei
4329eb6c3a android: BillingManager: Purchases must be acknowledged. 2020-08-15 13:58:49 -04:00
FearlessTobi
b5125979b9 android: Update app translations
Adds Korean and some minor fixes to other languages.
2020-08-15 13:58:49 -04:00
bunnei
701fe880e5 androuid: game_settings: Tighten asynch GPU timing.
- Fixes framerate issues in ZALBW.
2020-08-15 13:58:49 -04:00
SachinVin
ecbfba2c3f android: AndroidManifest.xml: bump up gles requirement to 3.2 2020-08-15 13:58:49 -04:00
SachinVin
669194d471 android: disable support for split screen 2020-08-15 13:58:49 -04:00
Pengfei Zhu
9b6a58705a audio_core/cubeb_input: Set default value for latency_frames
On Android OpenSL, cubeb could not find the minimum latency. Therefore, this variable was left uninitialized and caused problems when opening the stream.
2020-08-15 13:58:49 -04:00
bunnei
65dfc1653f android: BillingManager: Use real managed product for premium. 2020-08-15 13:58:49 -04:00
bunnei
d5803670c6 android: submodules: Use github for dynarmic. 2020-08-15 13:58:48 -04:00
bunnei
8fbbfab749 android: audio: Audio stretching is only useful with lower framerates, disable it when fullspeed. 2020-08-15 13:58:48 -04:00
bunnei
8a482e3f62 android: video_core: Add experimental asynchronous GPU option. 2020-08-15 13:58:48 -04:00
bunnei
197f927dde Revert "android: audio: Disable audio stretching by default."
This reverts commit 9ccbba07c824e0eca168fa2563509072b6b6793d.

# Conflicts:
#	src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsFragmentPresenter.java
2020-08-15 13:58:48 -04:00
SachinVin
f9fbb0c3f5 common/logging: Create a new backed for android's logcat 2020-08-15 13:58:48 -04:00
zhupengfei
564f7de724 android: Microphone support
Based on Tobi's work. Created a new 'real Mic factory' which creates mic interfaces for real devices. There's a default factory set (cubeb/null, depending on whether cubeb exists) in order to avoid changing code of other frontends.

Created a factory for the Android frontend which requests mic permission and creates a CubebInput (or null). The permission requesting code is basically the same as camera's. If the user denied the permission, an alert dialog will be shown informing them of the reason.

For easier usage, by default the Audio Input Device is set to 'Real Device'.

Co-authored-by: FearlessTobi <thm.frey@gmail.com>
2020-08-15 13:58:48 -04:00
bunnei
1a36243950 android: audio: Disable audio stretching by default. 2020-08-15 13:58:48 -04:00
bunnei
7af28d137a android: MainActivity: Fix crash when game directory button is not present. 2020-08-15 13:58:48 -04:00
BreadFish64
be5c29ef3b android: allow navigating to external storage 2020-08-15 13:58:48 -04:00
bunnei
3fc57f56e5 android: BillingManager: Hide premium actionbar button when premium is active. 2020-08-15 13:58:48 -04:00
bunnei
59fd5ec971 android: main: res: Add premium icon and fix folder size. 2020-08-15 13:58:48 -04:00
BreadFish64
f8638459bc android: more theme changes
fix file picker dialog colors
make Citra text orange in dark mode
2020-08-15 13:58:48 -04:00
BreadFish64
ce207bcd83 android: inherit file-picker toolbar theme from DayNight 2020-08-15 13:58:48 -04:00
BreadFish64
c3e3810bd6 android: fix toolbar theme 2020-08-15 13:58:48 -04:00