55453 Commits

Author SHA1 Message Date
Érico Rolim
057dd563aa [linux] Add missing include in nbio_linux.c.
On musl-libc, the compiler would print a warning for nbio_linux.c:
"warning: 'struct timespec' declared inside parameter list will not be
visible outside of this definition or declaration", indicating a missing
header defining this structure.

On glibc, this definition is provided through the stdlib header.
2020-08-10 00:33:43 -03:00
Autechre
5f702a766f
Merge pull request #11168 from libretro/revert-10687-fix-unused-port-dev-id
Revert "Don't report unused input ports to cores"
2020-08-09 21:07:00 +02:00
Autechre
2979018d68
Revert "Don't report unused input ports to cores" 2020-08-09 21:06:45 +02:00
Twinaphex
b1723f7cd0 Remove unused CocoaTouch menu - allows us to get rid of a lot of
dead code
2020-08-09 19:41:04 +02:00
twinaphex
06210387af Fix C++ comment 2020-08-09 19:24:13 +02:00
Autechre
a31514d7e0
Merge pull request #11167 from yoshisuga/ios-default-video-config
[iOS] Set default video driver to OpenGL
2020-08-09 19:23:27 +02:00
Autechre
17257fb90c
Merge pull request #10687 from realnc/fix-unused-port-dev-id
Don't report unused input ports to cores
2020-08-09 19:23:11 +02:00
Yoshi Sugawara
6a37f1ec90 [iOS] Set default video driver to OpenGL; start adding source file references to xcode project to make code navigable in Xcode 2020-08-09 06:08:16 -10:00
Nikos Chantziaras
1345d6e0c1
Update CHANGES.md 2020-08-09 14:54:31 +03:00
Nikos Chantziaras
e534373dee
Don't report unused input ports to cores
RetroArch has the unfortunate behavior of setting unused ports to
RETRO_DEVICE_JOYPAD in the core through
retro_set_controller_port_device(). "Unused" meaning ports higher than
the "maximum users" amount configured in settings/input in RA. This is
unfortunate because some cores (like the dosbox ones) change their
behavior depending on the device type assigned to ports. If all unused
(and thus invisible and unconfigurable through the UI) are set to
RETRO_DEVICE_JOYPAD, the core changes its behavior because from its
point of view there's multiple joypads connected, and there's no way for
users to disconnect these bogus joypads.

Fix this by not calling retro_set_controller_port_device() on ports that
are not used.
2020-08-09 14:54:28 +03:00
Autechre
43293abb41
Update CHANGES.md 2020-08-09 09:03:16 +02:00
twinaphex
2a9915f80d (D3D) Buildfix 2020-08-08 19:12:01 +02:00
Autechre
fd291f14ef
Merge pull request #11165 from albertoruibal/psl1ght-rtime-bug
Bug in the Makefile for psl1ght after adding rtime
2020-08-08 18:18:17 +02:00
twinaphex
ade58fc8b6 (UWP) Buildfix 2020-08-08 18:17:40 +02:00
Alberto Alonso Ruibal
5e8d400e5c
Bug in the Makefile for psl1ght after adding rtime
A "rtime.c" was added to an OBJ list but it should be an "rtime.o".

This is also causing that a build step is deleting the rtime.c file.
2020-08-08 17:03:56 +02:00
twinaphex
5e551dd92b Bump up to version 1.9.0 v1.9.0 2020-08-08 00:06:53 +02:00
Autechre
97799f9a74
Update CHANGES.md 2020-08-07 23:41:33 +02:00
Autechre
5258804cbc
Update CHANGES.md 2020-08-07 23:40:27 +02:00
Autechre
e16bf5b3be
Update CHANGES.md 2020-08-07 23:38:07 +02:00
Autechre
9480fea658
Merge pull request #11161 from guoyunhe/crowdin-20200807
Improve Crowdin scripts and fetch translations
2020-08-07 22:42:11 +02:00
Guo Yunhe
d7d13f64e9 Improve Crowdin scripts and fetch translations 2020-08-07 22:46:17 +03:00
Autechre
e64d5d2310
Merge pull request #11158 from schellingb/playlist_rbuf
Change playlists to use a dynamic array
2020-08-07 17:41:47 +02:00
Bernhard Schelling
a9ba760aae
Fix string that references old maximum number
As the new maximum is now 2147483647, `'unlimited'` should be adequate.
2020-08-07 22:10:11 +09:00
Bernhard Schelling
5d54fff166
Increase maximum playlist size to 2147483647
Before the number decided the initial memory allocation, now it only defines an actual maximum cap. This sets it to the biggest signed 32-bit number in case this is ever read from/written to something that isn't explicitly size_t or unsigned int.
2020-08-07 22:07:05 +09:00
Bernhard Schelling
f657d3d600
More index validation and avoid qsort with NULL 2020-08-07 21:13:40 +09:00
Bernhard Schelling
398aa25c98
Zero icon list even on menu drivers without icons
Otherwise there is a chance for a crash on program exit on certain gfx drivers because it tries to free uninitialized texture ids.
2020-08-07 20:49:06 +09:00
Bernhard Schelling
4a09907802
Return true when RBUF_TRYFIT is called with 0 2020-08-07 05:19:09 +09:00
Bernhard Schelling
0a67c0416a Change playlist to use dynamic array
Instead of initial 12MB memory allocation, use a dynamically growing array.
This shares the container structure (now called rbuf) with the explore menu.
2020-08-07 03:27:52 +09:00
Autechre
332505db86
Merge pull request #11153 from guoyunhe/create-metainfo-dir
Create metainfo directory if not exists
2020-08-06 18:36:48 +02:00
Autechre
3b67d49fb2
Merge pull request #11155 from jdgleaver/glui-playlist-icons
(GLUI) Add optional system-specific playlist icons
2020-08-06 18:36:16 +02:00
jdgleaver
e6000afddb (GLUI) Add optional system-specific playlist icons 2020-08-06 17:24:28 +01:00
Guo Yunhe
3e4fa19638 Create metainfo directory if not exists 2020-08-06 12:10:08 +03:00
Autechre
b05686efb1
Merge pull request #11150 from guoyunhe/appstream
Add AppStream support for Linux and BSD
2020-08-06 04:28:56 +02:00
Autechre
cffde9b065
Update CHANGES.md 2020-08-06 04:28:41 +02:00
Autechre
b0623f3f87
Merge pull request #11151 from yoshisuga/ios-hide-home-indicator
[iOS] Hide the home indicator as it obscures the content too frequently
2020-08-06 04:28:10 +02:00
Yoshi Sugawara
4456efa6c8 [iOS] Hide the home indicator as it obscures the content too frequently 2020-08-05 15:43:04 -10:00
twinaphex
c3d8c8661f Buildfixes for C89_BUILD --disable-menu 2020-08-06 03:04:21 +02:00
twinaphex
365ca7cf63 Buildfix 2020-08-06 02:59:09 +02:00
Guo Yunhe
0791b658a9 Add AppStream support for Linux and BSD 2020-08-05 23:56:17 +03:00
Autechre
bbff9215c0
Merge pull request #11147 from guoyunhe/crowdin-20200805
Fetch translations from Crowdin
2020-08-05 18:27:41 +02:00
Autechre
d3eebe7c0f
Merge pull request #11148 from jdgleaver/rgui-glui-scan-content-cleanup
(RGUI/GLUI) Clean up 'scan content' menu entries
2020-08-05 18:15:33 +02:00
Autechre
0e08fff6c8
Merge pull request #11149 from jdgleaver/ffmpeg-leak-fix
(ffmpeg) Fix memory leak/struct member issue
2020-08-05 18:04:48 +02:00
jdgleaver
0fcc5a784e (ffmpeg) Fix memory leak/struct member issue 2020-08-05 16:47:04 +01:00
twinaphex
cd329a259c Revert "(MaterialUI) silence some warnings"
This reverts commit db7e38fed5a1b3aca2d5e785af58b77ee55e245b.
2020-08-05 16:46:10 +02:00
Guo Yunhe
3d80b40dca Fetch translations from Crowdin 2020-08-05 16:35:24 +03:00
jdgleaver
15cf483cd9 (RGUI/GLUI) Clean up 'scan content' menu entries 2020-08-05 14:25:09 +01:00
twinaphex
db7e38fed5 (MaterialUI) silence some warnings 2020-08-05 13:58:18 +02:00
twinaphex
76ec05314c Remove unused variable 2020-08-05 13:54:36 +02:00
Autechre
5d726bca45
Merge pull request #11146 from jdgleaver/comparison-warning-fix
'comparison of integer expressions of different signedness' warning fix
2020-08-05 13:52:16 +02:00
jdgleaver
ada08e1c6f 'comparison of integer expressions of different signedness' warning fix 2020-08-05 09:55:06 +01:00