Commit graph

30413 commits

Author SHA1 Message Date
Henrik Rydgård
2b683ff8c7 Fix typo (and maybe a bug). 2021-09-08 00:19:18 +02:00
Henrik Rydgård
68f7c9e9ff Round the location of single-pixel lines to the nearest pixel.
Should hopefully help #14204.
2021-09-08 00:19:01 +02:00
Henrik Rydgård
f239d79f66
Merge pull request #14805 from hrydgard/spline-flush-fix
Bezier/Spline: Fix logical error
2021-09-08 00:14:01 +02:00
Henrik Rydgård
5dab9994b6 Bezier/Spline: Fix logical error (must flush buffered data before we modify submitType).
Should fix #14774
2021-09-07 23:52:06 +02:00
Henrik Rydgård
e2b0137400 VK: Only autogenerate mipmaps for R8G8B8A8 format textures.
Quickfix for bug with Auto High Quality texture filtering.

Fixes #14804 (good enough for now at least).
2021-09-07 23:41:03 +02:00
Henrik Rydgård
f83cf9fd0d
Merge pull request #14798 from iota97/crc-fix
Don't show CRC button when we can't get it
2021-09-07 16:36:25 +02:00
iota97
b44c991fc1 Add info check 2021-09-07 16:16:39 +02:00
iota97
227333f45b Don't show CRC button when we can't get it 2021-09-07 10:17:03 +02:00
Henrik Rydgård
bc45634ed3
Merge pull request #14801 from unknownbrackets/reporting
Reporting: Calculate CRC for PSN games
2021-09-07 09:14:55 +02:00
Henrik Rydgård
f7e2a36162
Merge pull request #14802 from unknownbrackets/softgpu
softgpu: Prevent pixel gaps when drawing sprites
2021-09-07 08:58:05 +02:00
Unknown W. Brackets
b5ba469826 softgpu: Prevent pixel gaps when drawing sprites.
If you end a sprite at 255.9, it draws the pixel at 255.  This uses the
same logic to handle that as in the triangle path.
2021-09-06 22:05:39 -07:00
Unknown W. Brackets
d56bf561f1
Merge pull request #14800 from hrydgard/fix-libretro-defaults
libretro: Fix defaults for texture_scaling_level and inflight_frames
2021-09-06 20:07:14 -07:00
Unknown W. Brackets
bac7def66b
libretro: Fix typo. 2021-09-06 19:47:39 -07:00
Unknown W. Brackets
825d9a8d2b Reporting: Calculate CRC for PSN games. 2021-09-06 19:40:40 -07:00
Unknown W. Brackets
694e92dc82 Core: Use FileBlockDevice for PBPs without an ISO. 2021-09-06 19:39:34 -07:00
Henrik Rydgård
b5e8e22dc9
Merge pull request #14789 from hrydgard/auto-max-quality-texfilter
Add new texture filtering mode "Auto Max Quality"
2021-09-07 00:58:48 +02:00
Henrik Rydgård
be87acf62b libretro: Fix defaults for texture_scaling_level and inflight_frames 2021-09-07 00:51:28 +02:00
Henrik Rydgård
a5d963f140
Merge pull request #14776 from hrydgard/update-gradle-again
Update gradle again.
2021-09-06 22:57:49 +02:00
Henrik Rydgård
c2619f425c
Merge pull request #14799 from stuken/libretro_fix
Various libretro fixes
2021-09-06 22:56:47 +02:00
Stuart Kenny
feade27cd3 Review style fixes. 2021-09-06 21:01:17 +01:00
Stuart Kenny
c593da050c Expose inflight frames as core option. 2021-09-06 20:14:08 +01:00
Stuart Kenny
0f45c95d17 Fix capitalization in core option labels. 2021-09-06 20:13:07 +01:00
Stuart Kenny
6db91abf17 Move core initialization code out of retro_load_game method 2021-09-06 20:10:13 +01:00
Stuart Kenny
3b39b6fcaa Do not fast forward by default. 2021-09-06 20:03:57 +01:00
Stuart Kenny
da4652aa2a Do not skip SwapBuffer() when skipDrawReason set.
Fixes nothing being rendered with high frameskip ratios.
2021-09-06 20:00:50 +01:00
Henrik Rydgård
ae9bf27991
Merge pull request #14795 from unknownbrackets/softgpu
softgpu: Avoid overflow infinite loop
2021-09-06 08:57:19 +02:00
Unknown W. Brackets
7addc18a6b softgpu: Avoid overflow infinite loop.
For certain large values, it would overflow and continue looping
endlessly.
2021-09-05 23:24:08 -07:00
Henrik Rydgård
1df31e9304 Fix windows menus for the new tex filtering options. 2021-09-05 23:54:41 +02:00
Henrik Rydgård
6b76bcf070 Add new texture filtering "Auto Max Quality" that tweaks texture filtering for best quality.
It does this by enforcing mipmapping and minification filters, and
always autogenerates mipmaps and enforces anisotropic filtering for all
modes (if that's separately enabled).

This looks nice and flicker free in most games without any additional
tweaking, including GTA and Burnout which have long been painfully
flickery in the distance due to undersampling.

Needs a bit more testing before merge, maybe.

Fixes #13888
2021-09-03 00:14:58 +02:00
Henrik Rydgård
54bb824d37
Merge pull request #14788 from unknownbrackets/interp
interp: Prevent crash on bad lv.q or sv.q addr
2021-09-02 17:30:12 +02:00
Unknown W. Brackets
529329785b interp: Prevent crash on bad lv.q or sv.q addr.
See #5496.
2021-09-02 07:18:49 -07:00
Henrik Rydgård
730d2d2880
Merge pull request #14787 from iota97/fix
Don't add VIRTKEY_TOGGLE_FULLSCREEN in custom key list on mobile device
2021-09-01 18:18:52 +02:00
iota97
f54a24daec Don't add VIRTKEY_TOGGLE_FULLSCREE in custom key list on mobile device 2021-09-01 17:07:35 +02:00
Henrik Rydgård
f89d5b75a5 Remove old ouya joystick prompt pngs from source_assets 2021-09-01 09:19:36 +02:00
Unknown W. Brackets
567c7f207d UI: Fix save state scrollview height.
Fixes #14785.
2021-08-31 20:18:22 -07:00
Henrik Rydgård
9de9420878
Merge pull request #14784 from bslenul/libretro-cleanup
[Libretro] Small core options cleanup + create a new git-version.cpp instead of appending stuff in it
2021-08-30 17:07:12 +02:00
bslenul
5ba544ebab [Libretro] Small core options cleanup + create a new git-version.cpp instead of appending stuff in it 2021-08-30 16:38:37 +02:00
Henrik Rydgård
6e890713f3
Merge pull request #14782 from iota97/gesture
Support virtual button in touch gesture
2021-08-30 14:02:41 +02:00
iota97
8f9610d2a0 Reuse translation for combo button as well 2021-08-30 13:17:24 +02:00
iota97
f417bb93d4 Reuse translation 2021-08-30 13:13:09 +02:00
iota97
2821035b1d Support virutal button in touch gesture 2021-08-30 12:26:13 +02:00
Henrik Rydgård
6fbc73ef69
Merge pull request #14781 from unknownbrackets/ui-ctrl-mapping
Fix various focus issues in the control mapping
2021-08-30 08:37:56 +02:00
Unknown W. Brackets
e9ebd86439 UI: Fix scrollview focus scroll before relayout.
Need to use the position of the bounds as of last layout, not the new
desired position.
2021-08-29 17:35:58 -07:00
Unknown W. Brackets
01edd695c8 UI: Fix refocus on no control change.
There's no reason to refresh, and since the views are different without
PersistData being called, it breaks the focus.

Refreshing now handled via the generation value.
2021-08-29 17:14:08 -07:00
Unknown W. Brackets
6e4708733c UI: Restore focus on PSP view as well. 2021-08-29 17:08:27 -07:00
Unknown W. Brackets
7bb58ce5a0 UI: Refocus better on control mapping change.
This is less awkward, since it keeps you closer to where you were before.
2021-08-29 16:59:55 -07:00
Unknown W. Brackets
6378cb1693 UI: Fix focus persistence in control mapping.
Trying to reset focus from the parent was just complicating things.
We persist the focus state when recreating views.
2021-08-29 16:43:15 -07:00
Unknown W. Brackets
7a29a8bd48 UI: Handle WRAP_CONTENT in flexible scroll views.
If the scroll view had weight, it'd grow to the max size always.  Now it
still fits to the container, if that's what it's set to.
2021-08-29 16:39:14 -07:00
Henrik Rydgård
a502c8fb68
Merge pull request #14779 from unknownbrackets/ui-ctrl-mapping
Tweak grid and scrollview handling
2021-08-30 00:59:24 +02:00
Unknown W. Brackets
5e3ffe94b3 UI: Allow scoll views to have specific height. 2021-08-29 14:11:32 -07:00