Commit Graph

3534 Commits

Author SHA1 Message Date
Cthulhu-throwaway
14e5cd317b
(Network) net_ifinfo refactor (#14102) 2022-06-25 16:37:12 +02:00
Cthulhu-throwaway
a7dc57f68f
(Network) Move the addr_6to4 function to a proper place (#14100) 2022-06-25 09:18:32 +02:00
Cthulhu-throwaway
8c6c399a01
(Network) Move the HAVE_INET6 macro to a proper place (#14096) 2022-06-25 00:54:39 +01:00
Cthulhu-throwaway
2a0fce77d3
(Wii) Silence some warnings (#14092) 2022-06-23 14:46:53 +02:00
libretroadmin
278f088c99 Fix 'function declaration is not a prototype' warning on Clang/Mac 2022-06-19 14:09:55 +02:00
LibretroAdmin
0008691aa0
Remove unused variables (#14065) 2022-06-18 19:28:07 +02:00
LibretroAdmin
4a38831c47
Try to reduce fixed size char arrays from PATH_MAX_LENGTH to lower sizes (#14062)
* Try to reduce fixed size char arrays from PATH_MAX_LENGTH to lower sizes
2022-06-18 19:07:15 +02:00
libretroadmin
844d27c315 (libretro-common) Resync 2022-06-13 18:56:28 +02:00
Cthulhu-throwaway
43ad2b64b2 (Network) Replace socket_select calls 2022-06-12 02:13:34 -03:00
Cthulhu-throwaway
fed60aaee6 Wii buildfix (round 3)
Annoying preprocessor...
2022-06-10 14:34:54 -03:00
Cthulhu-throwaway
a6e5811dc7 Wii buildfix (round 2) 2022-06-10 14:06:02 -03:00
Cthulhu-throwaway
349be66031 Wii buildfix 2022-06-10 13:00:59 -03:00
Cthulhu-throwaway
f46e41f6c4 Vita buildfix 2022-06-10 05:11:29 -03:00
LibretroAdmin
332074df40
Merge pull request #14001 from Cthulhu-throwaway/poll
(Network) poll support
2022-06-10 06:47:20 +01:00
HyperspaceMadness
8d177ed865 Shader Load Extra Parameter Reference Files
When a shader preset is loaded now when there are more than one #reference line the parameter values will be loaded from the references after the first one
2022-06-04 20:12:21 -04:00
Cthulhu-throwaway
d4324d9a0d (Network) poll support 2022-06-04 10:46:31 -03:00
libretroadmin
2a747ada5d (GCC 12) Silence some new warnings generated 2022-06-04 06:35:05 +02:00
Cthulhu-throwaway
39de84eb05 Wii buildfix 2022-05-31 06:07:57 -03:00
Cthulhu-throwaway
8f7b5a1050 (Networking) Define isinprogress function 2022-05-31 05:07:23 -03:00
Cthulhu-throwaway
400faff5ba Proper buildfix for some Windows environments 2022-05-31 01:08:45 -03:00
Cthulhu-throwaway
17b7b1322e (Netplay) Some cleaning 2022-05-30 22:02:24 -03:00
LibretroAdmin
5e258eb8f0
Merge pull request #13987 from Cthulhu-throwaway/master
(Netplay) Enforce a timeout during connection
2022-05-30 18:14:12 +01:00
Cthulhu-throwaway
de30f212bc (Netplay) Enforce a timeout during connection 2022-05-30 05:23:39 -03:00
LibretroAdmin
6ba8fe225d
Revert "Shader Preset Loading of Multiple additional #references lines for settings" 2022-05-30 02:39:25 +02:00
Remi McGill
684889507b Shader Loading of Multiple References for settings
Multi reference settings working

Config fixes

Multi-Reference Loading Working, Checking for shader chain not working

Checking References is working

Improved path_linked_list_add_path

Simplify path list stuff

Fixed Static Definition

Fixes

Fixes

Fix to Trigger PR Update

Removed Legacy Orbis which got left in a merge

Memory Leak Fix
2022-05-24 14:07:55 -04:00
LibretroAdmin
49370f1f26
Merge pull request #13961 from libretro/orbisdev-orbis
WIP: Orbis/PS4 Support using OrbisDev toolchain (pt. 2)
2022-05-23 22:00:08 +01:00
David Guillen Fandos
8b53aaf45f Fix string test that fails. 2022-05-23 18:47:29 +02:00
Francisco Javier Trujillo Mata
6974dee535 [ORBIS] Remove the dummy core option by default 2022-05-21 17:10:35 +02:00
Francisco Javier Trujillo Mata
6366fcf8e3 [ORBIS] Remove legacy implementation and compile with Werror 2022-05-21 17:10:35 +02:00
OsirizX
c6d51fdb32 [ORBIS] Initial changes for PS4 2022-05-21 16:31:10 +02:00
Cthulhu-throwaway
f0baf977fa (Network) Move natt files to "network" 2022-05-18 23:23:40 -03:00
tunip3
fc16da3440
remove copy perms as its inefficient as we can just directly assign the new acl and that works (#13926) 2022-05-11 19:16:04 +02:00
Cthulhu-throwaway
4674241bf9
(Networking) Move macro to its correct place (#13904) 2022-04-30 03:39:10 +02:00
Cthulhu-throwaway
7a70b36c8b
(Threaded Tasks) Fix race condition at task_queue_wait (#13898) 2022-04-29 14:29:07 +02:00
jdgleaver
c1d1e57ec9
Fix audio mixer memory leak + remove redundant 'single threaded' rthreads implementation (#13890) 2022-04-26 14:22:59 +02:00
Vladimir Serbinenko
eaf98919a9
Add missing locks in audio_mixer.c (#13858) 2022-04-25 16:54:10 +02:00
Michael Burgardt
e185955bc1
Add Catalan language option (#13850) 2022-04-20 14:37:24 +02:00
Joel Puig Rubio
03146e4604
Label Valencian as a Catalan dialect (#13837) 2022-04-19 11:58:50 +02:00
Tony
044e1ec655
(WinRaw) Fix multiple light guns (#13840)
* (WinRaw) Fix multiple light guns

* Strip non-ASCII characters from mouse display names
2022-04-08 21:46:00 +02:00
twinaphex
fb2da8e8fd Backport 42b3ebe12a 2022-04-05 07:32:22 +02:00
Michael Burgardt
fd35162cbe
Add Valencian language option (#13789) 2022-03-30 17:59:09 +02:00
Autechre
4c3a4d66df
Cxx buildfixes (#13803)
* CXX_BUILD buildfixes
* (D3D11) Buildfixes for CXX_BUILD
* (Linux/qb) Disable KMS for Linux when building for C89, headers use inline which is not
available for C89
2022-03-30 17:30:20 +02:00
twinaphex
26fec17593 CXX_BUILD fixes for net_natt.c 2022-03-30 15:32:23 +02:00
OsirizX
d7002641c3 [PSL1GHT] Add libco support for ps3 2022-03-27 18:03:35 +02:00
Jamiras
f63c11ebaf free audio voices properly 2022-03-26 07:58:31 +01:00
jdgleaver
2feca8994d Revert "(config_file) Prevent hash map corruption when calling config_unset()"
This reverts commit e5df8f7850.
2022-03-21 15:08:02 +01:00
jdgleaver
28247ba65d (config_file) Prevent hash map corruption when calling config_unset()
- This is a workaround for the broken 'RHMAP_DEL_STR()' implementation in rhmap.h
- This commit should be reverted when rhmap.h is fixed
2022-03-21 15:08:02 +01:00
Bernhard Schelling
780fdf721e Fix possible hash map corruption when deleting string keys 2022-03-21 15:07:53 +01:00
jSTE0
715c054de5
Improve CPU architecture and model name identification for Miyoo (#13704)
* features_cpu: Return model name on non-x86 Linux platforms

Extract model name from /proc/cpuinfo.

* platform/unix: Rework identification of classic Arm CPUs

Identify pre-ARMv7 CPUs based on the machine hardware name starting with
"arm" instead of matching every individual variant. This will then
include the ARM926EJ-S which has armv5tejl as its machine hardware name.
2022-03-09 21:27:12 +01:00
Michael Burgardt
56f2e2f7b8
Add Czech language option (#13680) 2022-03-07 19:11:39 +01:00
Vladimir Serbinenko
c11a798467
Series of djgpp fixes (#13705)
* features_cpu: Fix clock for djgpp

* frontend_dos_set_fork: Fix wrong id names

* dos_input: Fix missing indexing

* dos_joypad: Fix wrong id name

* Fix menu drawing

Menu is already prescaled to VGA_WIDTH x VGA_HEIGHT in vga_menu_frame. We need
to always use those dimensions

* Change dos compilation from griffin to common

* Set vga menu size to 320x200

* Add DOS compilation in gitlab-ci.yml
2022-03-05 15:53:18 +01:00
twinaphex
460f5e745d Silence some MSVC 2019 code analysis warnings 2022-03-05 14:39:56 +01:00
Vladimir Serbinenko
4a53c6771c
Several fixes and improvements do NGC and Wii (#13698)
* Support new elf2dol path in Makefile.griffin

* Fix NULL pointer dereference when no core info is available

* Fix double include of different versions of libogc

* Move ngc and wii to Makefile.common

Resulting binary is 60K *smaller*. This is surprising but probably due to
less inlining happening

* gx_gfx: Fix hang on gfx initialization

* Remove sthread_isself on NGC/Wii

It relies on pthread_equal that is not there for either legacy pthreads
or normal pthreads on those platforms

* Wii networking

* Missing includes in split

* Network fixes

* Fix logging of non-format string as a format

* Support for gx netlogger

* Network fix

* Network fixes

* Network info

* gx: Move config files to app directory

Otherwise it clashes between wiiU and vWii version with unpredictable
effects
2022-03-04 13:43:00 +01:00
Tony
69cf8b1795
Fix some command line segfaults (#13682) 2022-02-28 10:32:50 +01:00
Cthulhu-throwaway
023f427856
[UPnP] Stability fixes (#13652) 2022-02-22 08:22:10 +01:00
Autechre
78b25b20dd
Revert "Update zlib.h (#13641)" (#13642)
This reverts commit 5a3cd8671e.
2022-02-19 21:56:52 +01:00
Philippe Simons
5a3cd8671e
Update zlib.h (#13641)
fix compilation of uncompr.c
2022-02-19 21:11:59 +01:00
Jamiras
5d3654ddbb
(cheevos) support for identifying Dreamcast CHDs (#13628)
* support for identifying Dreamcast CHDs

* fix copy/paste error
2022-02-15 15:09:43 +01:00
Cthulhu-throwaway
cd74221d33
[Networking] GetBestRoute refactor (#13553)
Refactor to support UWP.
2022-01-27 11:38:31 +01:00
Francisco Javier Trujillo Mata
86b47b4859
[PSP] Update Retroarch to latest PSPDev status (#13544)
* Added newlib changes

* Add action to launch PPSSPP simulator

* Remove legacy config for the stack and heap

* Add pthread

* Simplify kernel_functions and improve references to HAVE_KERNEL_PRX

* Add some flags

* Improve audio init/deinit

* Improve exit by clicking home

* Add CI for PSP1

* Update PSP.yml
2022-01-25 03:50:18 +01:00
Vladimir Serbinenko
4e24fb3d01
Add osx-ppc compilation for frontend (#13532)
* Fix old osx condition

Current code assumes that osx < 10.12 is equivalent to ppc osx. It's not
true as Leopard x86 is still < 10.12 but not ppc. As xcode compiles fat
binaries it includes osx x86 and compilation fails.

* Disable crtswitchres when no c++11 is available

Crtswitchres altually needs c++11. Since it's not that important to make
it compatible with lower c++, just disable if no c++11 is available

* Don't use firstObject on old Mac OS X.

It was introduced in 10.6, so on old ones just implement it ourselves

* Compile osx-ppc frontend

* osx-ppc: Build a fat binary

On 10.6 i386 xcode apparently refuses to build a pure ppc.
Settle for a fat binary.
2022-01-24 16:22:07 +01:00
twinaphex
5241d3e5d6 Cleanups 2022-01-20 06:09:43 +01:00
Cthulhu-throwaway
c9d66eed46
(UPnP) Disable GetBestRoute for UWP (#13517)
* (UPnP) Disable GetBestRoute for the XBOX

* Macro branching to _WIN32_WINNT_WINXP

* Macro branching to __WINRT__
2022-01-20 06:12:12 +01:00
Michael Burgardt
311fec15d9
Add Indonesian, Swedish and Ukrainian language options (#13490)
* Add Indonesian, Swedish and Ukrainian language options

* Enable Indonesian and Swedish localisations for RGUI
2022-01-19 19:12:55 +01:00
Cthulhu-throwaway
c50087efdc
(UPnP) Minor refactor (#13510)
Don't clear up the request at natt_close_port.
2022-01-18 13:03:32 +01:00
Vladimir Serbinenko
979428649a VITA: Fix Nat-t compilation 2022-01-18 11:23:27 +01:00
Cthulhu-throwaway
1a7e8e6628
(UPnP) Refactor (#13503)
COMMON: The common library can now be used independently by any number of features.
COMMON: The common library no longer restricts HAVE_SOCKET_LEGACY.
Netplay Task: Network interface scoring changed from byte-level to bit-level.
2022-01-17 13:46:03 +01:00
Cthulhu-throwaway
f8da64d740
(UPnP) Accept IGD v2 service types (#13482) 2022-01-12 15:30:16 +01:00
Vladimir Serbinenko
2f130a23e4
Allow loading files from archive subdirectory (#13443)
* Allow loading files from archive subdirectory

Common example is "games.7z#game1/version1.ext" current code assumes that
everything that is before last slash is part of filesystem directory which
is false in this case.

* Fix listing of archive subdirectories

Currently file_archive_get_file_list_cb returns 0 on skipped entries.
It's wrong as calling convention for it is "0 means to stop iterating".
So on first extensionless file or an explicitly listed directory
further listing has stopped
2022-01-11 13:59:38 +01:00
Cthulhu-throwaway
4cf1bcf70f
(Netplay/UPnP) Delay lobby server announcing (#13473)
Delay the announcing in order to give UPnP's port forwarding more time.

Fix the remaining truncation warnings.
2022-01-11 08:48:59 +01:00
Cthulhu-throwaway
fb2d600837
(Netplay/UPnP) Smart interface selection (#13470)
Find the most suitable address for UPnP by scoring interfaces on how close their address is to the device's address.
2022-01-10 15:52:15 +01:00
Christopher Snowhill
b5504dda99
Implement sinc kaiser NEON function (#13452) 2022-01-08 04:21:51 +01:00
Jean-André Santoni
bb948e9b81
Merge pull request #11719 from pkos/master
(Database) Serial scanning for Gamecube/MegaCD/SegaCD/Saturn/PSX/PSP/Dreamcast/Wii
2022-01-08 01:39:25 +07:00
crystalct
19d05db9ae
PSL1GHT/PS3 build fix (#13446) 2022-01-06 08:21:14 +01:00
Rob Loach
fb6dfd345f
(Audio Mixer) audio_mix.c does not require stdio.h (#13441)
This change removes the inclusion of stdio.h as it's not needed in this file.
2022-01-04 13:21:45 +01:00
pkos
a192064403 (Database) Serial scanning for Gamecube/MegaCD/SegaCD/Saturn/PSX/PSP/Dreamcast/Wii 2021-12-31 21:35:16 -05:00
Cthulhu-throwaway
26132a2330
Netplay and NAT struct improvements (#13416)
Reordered netplay and NAT structs to follow the coding guidelines more closely.

Moved part of the chat struct out of the program's image and into the heap.
2021-12-25 13:42:22 +01:00
Cthulhu-throwaway
736ab4c964
MSVC 2005 build fix (#13408) 2021-12-24 14:58:18 +01:00
Cthulhu-throwaway
b67b93ebfe
Enable GetBestRoute for MSVC 2005 (#13407) 2021-12-24 14:15:20 +01:00
Cthulhu-throwaway
b696903162
UPnP fix for another specific router (#13404)
* UPnP fix for another specific router

Fix UPnP for a specific router device.

Also fix net_http not writing the host's port within the HTTP request.

* Quick edit
2021-12-24 11:56:51 +01:00
Cthulhu-throwaway
ec97c86756
Attempt to fix UPnP for some Windows devices (#13402)
Yet another attempt at it.
2021-12-23 23:52:01 +01:00
Cthulhu-throwaway
c6369b7861
MSVC 2005 Build Fix (#13401) 2021-12-23 22:08:13 +01:00
Cthulhu-throwaway
c4049b9597
NAT and netplay Fixes (#13400)
* NAT and netplay Fixes

Fix a crash when announcing your room to the internet without being in a tunnel.

Fix improper interface for UPnP for some Windows devices.

* Final edits
2021-12-23 21:28:30 +01:00
Jamiras
e0ad9f7e26
fix netplay UPNP binding for specific router behavior (#13399)
* fix netplay UPNP binding for specific router behavior

* use ISSPACE macro
2021-12-23 19:30:35 +01:00
Manuel Alfayate Corchete
e5215d9e29
Fix incorrect file names for remap files when the content path doesn't have a preceding slash. (#13385) 2021-12-20 23:24:19 +01:00
Cthulhu-throwaway
77e202fbf7 Base64 cleanup
Base64 header cleanup.
2021-12-20 14:54:41 +01:00
tunip3
6c123dd078
Mitigate need for vfs cores on ntfs drives [UWP/XBOX] (#13368)
* make check for standard io by access rather than the just assuming based on path string

* add code to auto permissions so files can be accessed by non vfs cores
(no exfat or fat32 support yet)

* remove commit from macro because apparently it causes issues

Co-authored-by: Tunip3 <tunip3@users.noreply.github.com>
2021-12-17 13:46:04 +01:00
tunip3
62528a483f
Fix roms over 4gb (approx) failing to load, improve copy times, fix scanning for playlists [UWP/XBOX] (#13348)
* Fix scanning for playlists

* Fix issues where games over 4gb (approx) would fail to load and also speed up loading times
2021-12-12 17:29:57 +01:00
twinaphex
baa51a5a91 (net_natt.c) Put IP_MULTICAST_TTL usage behind ifdef 2021-12-09 17:52:54 +01:00
twinaphex
9ec445ab40 Define IP_MULTICAST_TTL if not defined 2021-12-09 08:45:16 +01:00
Autechre
3b1a1ac8da
Remove miniupnpc dependency (#13340)
* use custom libretro-common UPNP

* Remove miniupnpc
2021-12-09 05:52:42 +01:00
twinaphex
6f60ee9b6e Network: Only use a single interface for UPnP 2021-12-05 03:47:48 +01:00
Autechre
fbbe351f7d
UPnP cleanups and refactorings (#13325) 2021-12-04 21:16:34 +01:00
Autechre
a44f5bbf78
Fix UPNP port mapping failed error - switch to a permanent lease time, (#13324)
but request it to be removed when we do netplay_free
2021-12-04 15:45:29 +01:00
jdgleaver
67eb42a8c2
(Audio Mixer) Increase sample buffer padding (#13300) 2021-11-30 14:52:25 +01:00
Alberto Fustinoni
544c8c4e29
UWP compilation fix (#13280) 2021-11-24 14:24:48 +01:00
jdgleaver
3c4b39057f
file_stream_transforms.c: Ensure correct return values + fix segfault when calling rfread() with zero elem_size (#13279) 2021-11-24 11:32:42 +01:00
Sage
85a256e2cb
Make http header parsing case insensitive (#13267) 2021-11-21 20:43:58 +01:00
twinaphex
619398bbe4 Backport parts of 73c0760236 2021-11-09 23:12:57 +01:00
twinaphex
d63c6b9706 main_thread_id initial value should be 0, not NULL 2021-11-08 20:08:32 +01:00