bunnei
5c738e154d
android: jni: Sanitize analog stick inputs.
...
- Fixes bug where joystick sometimes is unresponsive.
2020-05-13 13:54:00 -04:00
bunnei
9863060139
android: frontend: Fix default state for toggle controls, enable D-pad by default.
2020-05-13 13:54:00 -04:00
bunnei
f8aa334d1f
android: frontend: Add persistent changeable layout option for landscape mode.
2020-05-13 13:54:00 -04:00
bunnei
bd57714225
android: frontend: Track screen layout separately for orientation.
2020-05-13 13:54:00 -04:00
bunnei
e9198132fe
android: frontend: Add MobileLandscape layout profile for mobile devices.
2020-05-13 13:54:00 -04:00
James Rowe
76eedaa4f6
Adds in missing changes to gradle file and updates dynarmic
2020-05-13 13:54:00 -04:00
bunnei
7f070c12e0
android: jni: button_manager: Fix circle pad on subsequent game launch.
...
- We were missing an UnregisterFactory call for AnalogDevice.
2020-05-13 13:54:00 -04:00
bunnei
020d496028
android: frontend: MainPresenter: Refresh game directory on app boot.
2020-05-13 13:54:00 -04:00
bunnei
114b1b0209
android: jni: game_info: Fix crash on banner load for missing title.
2020-05-13 13:53:59 -04:00
bunnei
88bb540d13
android: jni: config: Fix bug preventing creation of config.ini.
2020-05-13 13:53:59 -04:00
bunnei
4add34f822
android: frontend: StartupHandler: Add an intro sequence to pick game dir.
2020-05-13 13:53:59 -04:00
bunnei
33bde14b9b
android: frontend: SettingsFragmentPresenter: Default resolution scale to 1X.
...
- Because android phones aren't very fast.
2020-05-13 13:53:59 -04:00
bunnei
2410f2329c
android: core: Prepare for ARM64 dynarmic support.
2020-05-13 13:53:59 -04:00
bunnei
8115ec85c4
android: frontend: Settings: Section categories must match INI settings.
2020-05-13 13:53:59 -04:00
bunnei
9b010778ab
android: frontend: Settings: Various updates and preserve single choice text in UI.
2020-05-13 13:53:59 -04:00
bunnei
f318bf0128
android: frontend: SettingsFragmentPresenter: Move speed limit to Graphics, give proper strings.
2020-05-13 13:53:59 -04:00
bunnei
f9d02bfdb2
android: frontend: Enlarge icon for launcher.
2020-05-13 13:53:59 -04:00
bunnei
2cc1bd864b
android: frontend: SettingsFragmentPresenter: Organize settings into logical categories.
2020-05-13 13:53:58 -04:00
bunnei
4694558178
android: frontend: SettingsFragmentPresenter: Remove unnecessary settings, add JIT setting.
2020-05-13 13:53:58 -04:00
bunnei
6f5928f1bf
android: frontend: InputOverlay: Fix setting save for portrait mode.
2020-05-13 13:53:58 -04:00
bunnei
234e1f2ad2
android: frontend: Fix settings slider cancel button.
2020-05-13 13:53:58 -04:00
bunnei
8f89bd53ff
android: frontend: auto-reformat all code for consistent style.
2020-05-13 13:53:58 -04:00
bunnei
e2818bf7be
android: dynarmic: Use internal dynarmic submodule.
2020-05-13 13:53:58 -04:00
James Rowe
3a950ec408
Perf: Remove more breakpoint checking in the interpreter. Move filtering earlier in the logging chain
2020-05-13 13:53:58 -04:00
bunnei
dc491bdf49
(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-13 13:53:57 -04:00
bunnei
fb303151ab
android: frontend: Implement MobilePortrait layout, which makes more sense for mobile.
2020-05-13 13:53:57 -04:00
bunnei
631bc0d672
android: native: Remove several unused hooks.
2020-05-13 13:53:57 -04:00
bunnei
aa444f188d
android: native: Add hooks for SwitchScreenLayout and SwapScreens.
2020-05-13 13:53:57 -04:00
bunnei
df7461c15b
android: config: Update to reflect latest settings.
2020-05-13 13:53:57 -04:00
bunnei
457e2c7692
android: frontend: Add base project.
2020-05-13 13:53:57 -04: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
Lioncash
cd201cd60f
gl_shader_gen: Make use of fmt where applicable
...
Avoids string churn and makes it significantly easier to read the shader
template strings that are being used as the basis for formatting.
2020-05-08 14:50:48 -04:00
Lioncash
38c8fecb81
gl_rasterizer_cache: Make use of if constexpr in MortonCopyTile()
...
A trivial change that allows compilers to more rigorously optimize out
code blocks that will never be executed in some scenarios.
2020-05-04 23:08:53 -04:00
Lioncash
f2a7fe05c3
gl_shader_manager: Make use of std::nullopt where applicable
...
Prevents the internal buffer in the std::optional from being zeroed out
unnecessarily and instead sets the validity byte only in some
implementations.
While we're at it, we can make use of std::move to eliminate unnecessary
heap reallocations from occurring.
2020-05-04 23:00:11 -04:00
Lioncash
016d43df98
gl_shader_decompiler: Make use of fmt with the decompiler
...
Allows us to avoid even more string churn by allowing the AddLine
function to make use of fmt formatting so the string is formatted all at
once instead of concatenating multiple strings.
This is similar to how yuzu's decompiler works, which I've made function
the same way in the past.
2020-05-04 22:40:33 -04:00
Vitor K
36809b2e2e
Small fixes to "Option to hide mouse on inactivity" ( #5280 )
...
* Menubar: fix mouse tracking bug
* citra_qt: Fix copy/paste error
2020-05-04 12:33:02 +02:00
Mat M
e9819b61a6
service: Mark variables as [[maybe_unused]] where applicable ( #5318 )
...
Quite a few service functions are stubbed but still pop all their
arguments, which can lead to unused variable warnings.
We can mark the unused arguments with [[maybe_unused]] to silence these
warnings until a full implementation of these functions are made.
2020-05-04 12:22:33 +02:00
Mat M
6e48149ee1
fs/archive: Make use of std::make_shared where applicable ( #5319 )
...
Allows implementations to allocate the object and the shared_ptr control
block in one allocation instead of needing to do two separate
allocations.
Also looks much nicer to the reader.
2020-05-04 12:22:13 +02:00
Mat M
79536ddb11
service/cfg: Convert file-scope std::vector to std::array ( #5320 )
...
Same behavior, but without a static runtime constructor that needs to
run at program start.
2020-05-04 12:21:56 +02:00