Stenzek
c9aaf598bb
(video/vulkan) Avoid caching stale mapped GPU texture as frame data
...
At best, this results in junk on screen, at worst we could crash.
It's not a perfect fix, there's still a scenario where this breaks: when
fast forwarding is enabled, and we swap from vsync-off to vsync-on when
pausing/rendering the menu, the swap chain (and textures) gets
recreated, and the frame data is completely lost.
There isn't much we can do about this without more intrusive changes,
such as preserving the textures inbetween swap chain reinits.
2021-05-11 09:49:39 -07:00
Stenzek
92e795aa28
(main) Remove null check from video_driver_set_cached_frame_ptr
...
The only call sites here use NULL as a parameter, and it makes
sense to clear it, since the intent is to remove a potentially
dangling pointer.
2021-05-11 09:49:39 -07:00
Autechre
475213aa0a
Merge pull request #12378 from davidgfnet/master
...
Moving more stuff from samples to tests
2021-05-11 03:16:04 +02:00
David Guillen Fandos
32d6eeaf07
Moving more stuff from samples to tests
...
Reworked the test a bit to make it separate from RA's build system for
simplicity.
Reworked the testing a bit to ensure coverage is properly generated.
This needs more work since it's rather manual and verbose
2021-05-10 19:45:50 +02:00
Autechre
6f95e7819a
Merge pull request #12364 from davidgfnet/master
...
Add more tests and coverage generation
2021-05-09 19:57:40 +02:00
GavinDarkglider
f24f827c4c
Updates For Lakka Switch build. ( #12369 )
2021-05-07 20:58:30 +02:00
Autechre
53a266728b
Merge pull request #12368 from jdgleaver/core-info-fix
2021-05-07 14:28:18 +02:00
Autechre
215ed2ccf6
Merge pull request #12367 from jdgleaver/core-info-cache-whitespace
2021-05-07 14:28:01 +02:00
jdgleaver
a671b6394c
(Core Info) Fix core detection on platforms that support cores with multiple file extensions
2021-05-07 10:58:09 +01:00
jdgleaver
dec1fd097c
Skip whitespace when writing compressed core info cache files
2021-05-07 10:16:21 +01:00
David Guillen Fandos
a0f0d7bed2
Add more tests and coverage generation
2021-05-06 18:43:56 +02:00
Autechre
6a21eca5df
Merge pull request #12363 from jdgleaver/core-info-cache-updates
2021-05-06 16:13:55 +02:00
jdgleaver
c37f540b72
Core Info Cache Improvements
...
- Core info cache can now be enabled/disabled on all platforms via a new `Settings > Core > Cache Core Info Files` option
- Core info cache file has been renamed from `.cache` to `core_info.cache` (i.e. it is no longer a 'hidden' file on Unix platforms, so can be deleted easily)
- The core info cache file is now compressed (rzip) to further reduce disk IO
- The presence of a `core_info.refresh` file in the core info directory will force a one-time refresh of the info cache. This file is generated automatically when toggling on the `Cache Core Info Files` option, and we will also add it to core info file packaging such that updating info files (either manually or via the online updater) will force a refresh
- The core info cache no longer contains 'core is locked' and 'firmware missing' data fields; these are 'dynamic' properties that must be determined at runtime
- The 'core is locked' status is now determined on core info intialisation by parsing the core directory listing, rather than by performing indivdual 'lock file exists' checks. This minimises file IO, and greatly improves performance on devices with slow storage
- While parsing the core info cache file, we now avoid unnecessary `strdup()`s when adding entries to the resultant cache list
- Memory leaks (potential and real) have been fixed, and safety checks added
- Build errors have been fixed
2021-05-06 15:00:55 +01:00
Autechre
5aba614b60
Merge pull request #12350 from bulzipke/master
2021-05-06 15:57:50 +02:00
Autechre
0680505ebf
Merge pull request #12354 from njordan64/generic-queue-linked-list
...
Adding a generic queue and linked list.
2021-05-05 22:49:11 +02:00
Norman Jordan
528af55abd
Adding a generic queue and linked list.
...
Both accept (void *) values. Also added some unit tests using CHECK.
2021-05-05 10:41:13 -07:00
Autechre
1167dde73a
Merge pull request #12359 from njordan64/shader_vulkan_fix
...
Added a missing include.
2021-05-05 18:18:42 +02:00
Autechre
b3abdefb9a
Merge pull request #12358 from bulzipke/fix-msvc-build
...
Fix windows msvc build
2021-05-05 18:18:33 +02:00
Norman Jordan
1b0ae7a0b2
Added a missing include.
2021-05-05 01:52:04 -07:00
bulzipke
f3daf070e1
Fix windows msvc build
2021-05-05 15:32:15 +09:00
Autechre
6241909a08
Merge pull request #12356 from jdgleaver/warn-fix
...
Fix 'unhandled enum' compiler warning on non-LAKKA platforms
2021-05-04 16:04:33 +02:00
Autechre
7fbb7a8007
Merge pull request #12355 from jdgleaver/3ds-disable-screensaver
...
(3DS) Disable menu screensaver animations in XMB/GLUI
2021-05-04 16:04:24 +02:00
bulzipke
e96cbcac04
(3DS) Build core info cache
2021-05-04 23:01:17 +09:00
jdgleaver
0706cdea4c
Fix 'unhandled enum' compiler warning on non-LAKKA platforms
2021-05-04 12:35:01 +01:00
jdgleaver
07099797bd
(3DS) Disable menu screensaver animations in XMB/GLUI
2021-05-04 11:44:30 +01:00
Jean-André Santoni
77967f0148
Merge pull request #12348 from libretro/kivutar/lutroweb
...
Add lutro to web.libretro.com
2021-05-02 14:13:43 +07:00
Jean-André Santoni
56e40e8204
Add lutro to web.libretro.com
2021-05-02 13:04:20 +07:00
Autechre
218c6f30b9
Merge pull request #12346 from davidgfnet/cpufreq1
2021-05-02 05:15:56 +02:00
David Guillen Fandos
b2c20e8ce0
Initial support for tweaking CPU governors/scaling policies
...
This is, at the moment, aimed at Lakka only.
2021-05-01 18:35:38 +02:00
Autechre
76eeee2c9a
Merge pull request #12345 from devnexen/fbsd_build_fix
...
FreeBSD build fix proposal
2021-05-01 17:26:44 +02:00
David Carlier
3b7e0a8db1
FreeBSD build fix proposal
2021-05-01 15:37:14 +01:00
Autechre
bc23d070de
Update CHANGES.md
v1.9.2
2021-04-30 18:19:36 +02:00
twinaphex
951ea6baaf
Bump up to version 1.9.2
2021-04-30 17:49:54 +02:00
Autechre
84ab14cb83
Merge pull request #12281 from eadmaster/multi_patch
...
added multi-softpatching support + OSD messages for patches (#9947 )
2021-04-30 16:00:43 +02:00
eadmaster
019130298a
added multi-softpatching support + OSD messages for patches ( #9947 )
...
fixed Travis error
2021-04-30 14:12:47 +02:00
Autechre
99917368b4
Merge pull request #12341 from jdgleaver/dingux-autosave
...
OpenDingux: Enable 'SaveRAM Autosave Interval' by default
2021-04-30 00:03:41 +02:00
jdgleaver
5f12edaae4
OpenDingux: Enable 'SaveRAM Autosave Interval' by default
2021-04-29 15:15:12 +01:00
Autechre
8eb8b44e83
Merge pull request #12327 from repojohnray/config_h
...
Set -I. at the beginning to include the right config.h
2021-04-29 15:44:41 +02:00
Autechre
9c534c3550
Merge pull request #12339 from jdgleaver/dingux-ra-bin
...
(.gitlab-ci.yml) Add 'raw' retroarch binary to OpenDingux (+Beta) job artifacts
2021-04-29 15:10:07 +02:00
Autechre
10c1361751
Merge pull request #12337 from Jamiras/ff_slow
...
enforce minimum fastforward_ratio of 1.0
2021-04-29 15:09:55 +02:00
Autechre
2153cd8e2c
Merge pull request #12338 from jdgleaver/config-file-append-fix
...
Fix config file appending and 'including'
2021-04-29 15:08:32 +02:00
jdgleaver
95cea8cc5d
(.gitlab-ci.yml) Add 'raw' retroarch binary to OpenDingux (+Beta) job artifacts
2021-04-29 13:01:44 +01:00
jdgleaver
02630d998e
Fix config file appending and 'including'
2021-04-29 12:29:47 +01:00
Jamiras
77d04af845
enforce minimum fastforward_ratio of 1.0
2021-04-28 22:43:48 -06:00
Autechre
42e01acfa1
Merge pull request #12335 from MrHuu/master
...
(3DS) Change default asset directory
2021-04-28 22:10:27 +02:00
Autechre
b2faff6bf9
Merge pull request #12334 from jdgleaver/core-info-hash-collision
...
(core_info) Prevent potential hash collisions when searching for cores
2021-04-28 22:09:41 +02:00
MrHuu
a58236d69d
(3DS) Change default asset directory
2021-04-28 19:59:03 +02:00
jdgleaver
3bc2758d51
(core_info) Prevent potential hash collisions when searching for cores
2021-04-28 17:52:15 +01:00
Autechre
40f6f7b803
Merge pull request #12333 from jdgleaver/config-file-hashmap-update
...
(config_file) Modify hash map usage for proper compatibility with updated RHMAP implementation
2021-04-28 18:38:43 +02:00
jdgleaver
b1a7d3e995
(config_file) Modify hash map usage for proper compatibility with updated RHMAP implementation
2021-04-28 17:34:24 +01:00