9343 Commits

Author SHA1 Message Date
bunnei
ce6b480bee android: jni: Fix missing camera includes. 2021-04-23 22:38:35 -07:00
zhupengfei
c029c9fe6c android: Add a warning when saving state
Display a warning when a user saves a state, until they explicitly choose to not see it anymore.
2021-04-23 22:38:35 -07:00
zhupengfei
b38ff54af6 android: Use DialogFragment for the core error dialog
Fixes a bug when changing orientation while the dialog is shown.
2021-04-23 22:38:35 -07:00
zhupengfei
a56eba77fb fixup! android: Add savestates UI 2021-04-23 22:38:35 -07:00
zhupengfei
c0942a59c8 android: Handle core errors
The errors are handled in a similar manner to the Qt frontend: an AlertDialog
will pop up, prompting the user to select 'Abort' or 'Continue'.

Error messages are translatable as string values.
2021-04-23 22:38:35 -07:00
zhupengfei
cf84342e35 android: Add savestates UI
A simple menu with savestates info.
2021-04-23 22:38:35 -07:00
zhupengfei
8a31ffaf22 core, video_core: Fixes to make savestates work
1. Acquire the context before initializing renderer when using async gpu

2. Do not try present when renderer is nullptr
  This has some potential race condition but is also what we do in qt

3. Synchronize before serializing video core (WaitForProcessing)
  For this, the GPU thread is changed to pop commands *after* processing.

4. Avoid waiting on future fences
  Such events can exist in core timing queue when deserializing.
2021-04-23 22:38:35 -07:00
bunnei
77c8cb23a0 android: config: Fix setting for use_frame_limit. 2021-04-23 22:38:35 -07:00
bunnei
a748c2cc7e Update strings.xml 2021-04-23 22:38:34 -07:00
Nathan Lepori
ab285bb6bb Implemented switch for sliding finger across dpad + fixed sensitivity 2021-04-23 22:38:34 -07:00
SachinVin
0507234077 video_core/CMakeLists.txt: Use toolchain cmake in shader header generator 2021-04-23 22:38:34 -07:00
SachinVin
a09d30298e gl_state.cpp: Fix typo in texture buffer LUT 2021-04-23 22:38:34 -07:00
SachinVin
08432346f7 android : EmulationActivity: Don't show rationale if the permission was denied indefinitely 2021-04-23 22:38:34 -07:00
SachinVin
d5e765fa53 fix formatting 2021-04-23 22:38:34 -07:00
SachinVin
428b0910ef android: Disable sensors when emulation is paused 2021-04-23 22:38:34 -07:00
SachinVin
337da335d6 android : refactor button_manager{.cpp, .h} to input_manager
Now that it also handles sensors
2021-04-23 22:38:34 -07:00
SutandoTsukai181
6aa9b1c9dc Update framebuffer layout when closing the settings
Fixes an issue where the default layout gets applied when closing the settings, which is noticable if you swap screens before changing the layout.
2021-04-23 22:38:34 -07:00
SutandoTsukai181
bf02579927 Add Cardboard VR
Based on hrydgard/ppsspp/pull/12449
2021-04-23 22:38:34 -07:00
SutandoTsukai181
8027b7cfe7 Add Stereoscopy settings UI 2021-04-23 22:38:34 -07:00
SachinVin
98205a3324 Run clang-format 2021-04-23 22:38:34 -07:00
SutandoTsukai181
e2689ee93c Remove unnecessary conditional 2021-04-23 22:38:34 -07:00
SutandoTsukai181
b55da9bef3 Wait on present_queue instead of free_queue 2021-04-23 22:38:34 -07:00
SutandoTsukai181
a6a4eb7a7a Remove reference to "has_custom_button_text" 2021-04-23 22:38:34 -07:00
SutandoTsukai181
7fc4de5330 Properly handle button_text for android 2021-04-23 22:38:34 -07:00
Tobias
3c40cbf6fb AndroidManifest: Remove the maximum aspect ratio entirely 2021-04-23 22:38:34 -07:00
Tobias
c8345b2cb4 AndroidManifest: Increase the maximum aspect ratio
This should help display the app on the whole screen on 21:9 devices like the Experia Z5.
2021-04-23 22:38:34 -07:00
bunnei
3bc5c81c7f gl_shader_decompiler: Improve performance of accurate_mul on Android. 2021-04-23 22:38:34 -07:00
weihuoya
84d295a06d presenting in the ui thread 2021-04-23 22:38:34 -07:00
weihuoya
ac686b1be4 presenting if need 2021-04-23 22:38:34 -07:00
weihuoya
8dfd31510b use separate texture buffer for light and fog 2021-04-23 22:38:34 -07:00
zhang wei
7f9f84f9ea Minor fixes to the UX (#126) 2021-04-23 22:38:34 -07:00
bunnei
1e34cde400 android: CheckBoxSetting: Fix a ClassCastException exception with isChecked. 2021-04-23 22:38:34 -07:00
bunnei
355312170c android: MainActivity: Fix a nullptr exception with onSaveInstanceState. 2021-04-23 22:38:34 -07:00
bunnei
b605845090 android: SettingsFragmentPresenter: Fix a nullptr exception with loadSettingsList. 2021-04-23 22:38:34 -07:00
bunnei
31fb157ae6 Revert "Presenting in ui thread (#92)"
This reverts commit d1c2e8fb88873bf8642d07ca7e386cc1bac19692.
2021-04-23 22:38:34 -07:00
bunnei
813b6008a2 android: native: Reload game specific settings when in game. 2021-04-23 22:38:34 -07:00
zhang wei
c4f7e2dc95 Presenting in ui thread (#92)
* present in ui thread

* rm test file

* use gradle 3.6.3

* fx present issue
2021-04-23 22:38:34 -07:00
xperia64
a0fd0deab6 Disable deptch stencil shader in texture_downloader_es for now 2021-04-23 22:38:34 -07:00
SachinVin
9a438c4339 android : Fix touchscreen for reals
Adds proper multitouch tracking for touchscreen
2021-04-23 22:38:33 -07:00
SachinVin
fa3b832998 core/frontend/emu_window: return true when TouchPressed is consumed 2021-04-23 22:38:33 -07:00
xperia64
6b5c730d6f Clamp the circle pad more correctly 2021-04-23 22:38:33 -07:00
xperia64
7682c469d4 Fix the N3DS controls 2021-04-23 22:38:33 -07:00
xperia64
384c577fee Shield TV driver bug workaround 2021-04-23 22:38:33 -07:00
SachinVin
30c9d79a27 android : InputOverlayDrawableDpad.java: Initialize mTrackId to -1 2021-04-23 22:38:33 -07:00
SachinVin
0111746fa2 android: Bring back git hash version name 2021-04-23 22:38:33 -07:00
bunnei
dadd9fcc6f android: game_settings: Mario & Luigi games require accurate mul. 2021-04-23 22:38:33 -07:00
BreadFish64
d6ff4b0cf9 actually add icons 2021-04-23 22:38:33 -07:00
BreadFish64
b7db81d227 add icon to CIA install menu item 2021-04-23 22:38:33 -07:00
BreadFish64
36548d1dd4 refresh game list after installing CIA 2021-04-23 22:38:33 -07:00
BreadFish64
07c4e5fc2e android: Add initial CIA installation 2021-04-23 22:38:33 -07:00