8739 Commits

Author SHA1 Message Date
bunnei
f299c55817 android: frontend: Update controls overlay placement for new icon resources. 2020-05-20 17:35:07 -04:00
bunnei
68b7df84a8 android: frontend: Update to new icon resources. 2020-05-20 17:35:07 -04:00
bunnei
685b987c43 android: frontend: settings: Add performance warnings for relevant settings. 2020-05-20 17:35:07 -04:00
bunnei
a758bdd3ce android: frontend: Remove "Toggle All" option from toggle controls.
- This was broken, and is not terribly useful as-is.
2020-05-20 17:35:07 -04:00
bunnei
01516f61ba android: frontend: Decrease spacing between game cards. 2020-05-20 17:35:06 -04:00
bunnei
87dd8888a3 android: jni: Fix management of core emulation state and various cleanups.
- Fixes a shutdown crash.
2020-05-20 17:35:06 -04:00
bunnei
70c0f60d38 android: frontend: Fix bug where games could be double-clicked. 2020-05-20 17:35:06 -04:00
bunnei
d6e210640b android: jni: Sanitize analog stick inputs.
- Fixes bug where joystick sometimes is unresponsive.
2020-05-20 17:35:06 -04:00
bunnei
a992286886 android: frontend: Fix default state for toggle controls, enable D-pad by default. 2020-05-20 17:35:06 -04:00
bunnei
19c8f28aff android: frontend: Add persistent changeable layout option for landscape mode. 2020-05-20 17:35:06 -04:00
bunnei
d514c81d16 android: frontend: Track screen layout separately for orientation. 2020-05-20 17:35:06 -04:00
bunnei
9574dee267 android: frontend: Add MobileLandscape layout profile for mobile devices. 2020-05-20 17:35:06 -04:00
James Rowe
e0d00fd634 Adds in missing changes to gradle file and updates dynarmic 2020-05-20 17:35:06 -04:00
bunnei
9f0ae10e44 android: jni: button_manager: Fix circle pad on subsequent game launch.
- We were missing an UnregisterFactory call for AnalogDevice.
2020-05-20 17:35:05 -04:00
bunnei
12a3c226b5 android: frontend: MainPresenter: Refresh game directory on app boot. 2020-05-20 17:35:05 -04:00
bunnei
78527f6063 android: jni: game_info: Fix crash on banner load for missing title. 2020-05-20 17:35:05 -04:00
bunnei
219b65af1c android: jni: config: Fix bug preventing creation of config.ini. 2020-05-20 17:35:05 -04:00
bunnei
7a5e441136 android: frontend: StartupHandler: Add an intro sequence to pick game dir. 2020-05-20 17:35:05 -04:00
bunnei
d9570bffc5 android: frontend: SettingsFragmentPresenter: Default resolution scale to 1X.
- Because android phones aren't very fast.
2020-05-20 17:35:05 -04:00
bunnei
f45a7ab462 android: core: Prepare for ARM64 dynarmic support. 2020-05-20 17:35:05 -04:00
bunnei
04a2b89f65 android: frontend: Settings: Section categories must match INI settings. 2020-05-20 17:35:05 -04:00
bunnei
fb4d39c20e android: frontend: Settings: Various updates and preserve single choice text in UI. 2020-05-20 17:35:05 -04:00
bunnei
a349bc547d android: frontend: SettingsFragmentPresenter: Move speed limit to Graphics, give proper strings. 2020-05-20 17:35:04 -04:00
bunnei
981e4a7f63 android: frontend: Enlarge icon for launcher. 2020-05-20 17:35:04 -04:00
bunnei
7dfca5ddbb android: frontend: SettingsFragmentPresenter: Organize settings into logical categories. 2020-05-20 17:35:04 -04:00
bunnei
772630f904 android: frontend: SettingsFragmentPresenter: Remove unnecessary settings, add JIT setting. 2020-05-20 17:35:04 -04:00
bunnei
18622b3a14 android: frontend: InputOverlay: Fix setting save for portrait mode. 2020-05-20 17:35:04 -04:00
bunnei
b53bfcc6de android: frontend: Fix settings slider cancel button. 2020-05-20 17:35:04 -04:00
bunnei
0011a432bf android: frontend: auto-reformat all code for consistent style. 2020-05-20 17:35:04 -04:00
bunnei
59b4d4dda7 android: dynarmic: Use internal dynarmic submodule. 2020-05-20 17:35:04 -04:00
James Rowe
817b68f59f Perf: Remove more breakpoint checking in the interpreter. Move filtering earlier in the logging chain 2020-05-20 17:35:03 -04:00
bunnei
f0f60fc9f8 (jroweboy) Remove existing code in src/android
Move src/citra_android to src/android/app/src/main/jni
Disable gdbstub breakpoints on android (could be done better)
Disable LOD_BIAS for GLES (not support on gles)
2020-05-20 17:35:03 -04:00
bunnei
3ed6e66eeb android: frontend: Implement MobilePortrait layout, which makes more sense for mobile. 2020-05-20 17:35:03 -04:00
bunnei
0afe3d986e android: native: Remove several unused hooks. 2020-05-20 17:35:03 -04:00
bunnei
aaf01b0c68 android: native: Add hooks for SwitchScreenLayout and SwapScreens. 2020-05-20 17:35:02 -04:00
bunnei
8d04cac55c android: config: Update to reflect latest settings. 2020-05-20 17:35:02 -04:00
bunnei
24aa429488 android: frontend: Add base project. 2020-05-20 17:35:02 -04:00
Mat M
51dfc46d3f
gl_rasterizer_cache: Trivial minor cleanups (#5295)
* gl_rasterizer_cache: Mark file-scope functions as static where applicable

Prevents -Wmissing-declaration warnings from occurring and also makes
these functions internally linked.

* gl_rasterizer_cache: Remove unused local std::string variable

Despite being unused, compilers are unable to completely remove any code
gen related to the construction and destruction of this variable, since
the destructor of std::string is non-trivial.

Thus, we can remove it to reduce a minor amount of unnecessary code
generation

* gl_rasterizer_cache: Mark hash implementation as noexcept

This shouldn't throw.

* gl_rasterizer_cache: Remove unused variable in ClearAll()

* gl_rasterizer_cache: Make use of const on references explicit

While declared as auto&, these actually behave as const auto& variables,
due to the constness of the container being iterated. We can make this
explicit for readability sake.

* gl_rasterizer_cache: Resolve truncation warnings

The size is forwarded to a std::memset call, which takes a std::size_t
as its size parameter, so we can just make this change to silence the
warnings.

* gl_rasterizer_cache: Resolve variable shadowing warnings

Prevents a -Wshadow warning from occurring.
2020-05-18 09:19:54 -05:00
Ben
213c956b7c
Merge pull request #5313 from FearlessTobi/port-3827
Port yuzu-emu/yuzu#3827: "Update cubeb to 616d773"
2020-05-13 18:29:29 +02:00
Ben
307b8f923b
Merge pull request #5224 from FearlessTobi/port-3630
Port yuzu-emu/yuzu#3630: "common/file_util: Allow access to files on network shares"
2020-05-13 18:28:01 +02:00
Tobias
63c86f2417
Port yuzu-emu/yuzu#3268: "GUI: Deadzone controls for sdl engine at configuration input" (#5174)
* GUI: Deadzone controls for sdl engine at configuration input

Co-Authored-By: CJ Bok <cjbok@users.noreply.github.com>

* configure_input: Use slider to edit modifier scale

Co-Authored-By: Kewlan <kewlan@users.noreply.github.com>

* Address minor review comment

Co-Authored-By: Kewlan <kewlan@users.noreply.github.com>

Co-authored-by: CJ Bok <cjbok@users.noreply.github.com>
Co-authored-by: Kewlan <kewlan@users.noreply.github.com>
2020-05-13 18:26:05 +02:00
Ben
57aa18f52e
Improve core timing accuracy (#5257)
* Improve core timing accuracy

* remove wrong global_ticks, use biggest ticks over all cores for GetGlobalTicks

* merge max slice length change
2020-05-12 22:48:30 +02:00
Ben
d11d600b61
Merge pull request #5225 from FearlessTobi/port-3672
Port yuzu-emu/yuzu#3672: "file_util: Early-exit in Write/ReadArray if specified lengths are zero"
2020-05-11 09:45:39 +02:00
Lioncash
6ed4431d8b file_util: Early-exit in WriteArray and ReadArray if specified lengths are zero
It's undefined behavior to pass a null pointer to std::fread and
std::fwrite, even if the length passed in is zero, so we must perform
the precondition checking ourselves.

A common case where this can occur is when passing in the data of an
empty std::vector and size, as an empty vector will typically have a
null internal buffer.

While we're at it, we can move the implementation out of line and add
debug checks against passing in nullptr to std::fread and std::fwrite.
2020-05-11 01:58:13 +02:00
Ben
8d27b0714d
Merge pull request #5335 from lioncash/nullopt
gl_shader_manager: Make use of std::nullopt where applicable
2020-05-09 12:36:23 +02:00
Ben
4892d37309
Merge pull request #5336 from lioncash/constexpr
gl_rasterizer_cache: Make use of if constexpr in MortonCopyTile()
2020-05-09 12:36:04 +02:00
Ben
007fb63e47
Merge pull request #5230 from B3n30/circumvent_apple_intel_hw_shader_issue
Add flag to disable seperable shaders for osx Intel GPUs.
2020-05-09 12:34:21 +02:00
Ben
8a69172570
Merge pull request #5231 from hamish-milne/fix-address-arbiter-serialization
Fix Address Arbiter serialization
2020-05-09 12:33:35 +02:00
Ben
96ebd53466
Merge pull request #5264 from lioncash/gen
gl_shader_gen: Make use of fmt where applicable
2020-05-09 12:28:57 +02:00
Ben
e959d44f00
Merge pull request #5262 from lioncash/fmt
gl_shader_decompiler: Make use of fmt with the decompiler
2020-05-09 12:28:34 +02:00