Commit Graph

1693 Commits

Author SHA1 Message Date
Mats 249241d7cd
(steam) Initial integration with Steam API w/ mist (#13710) 2022-03-09 15:05:07 +01:00
twinaphex 460f5e745d Silence some MSVC 2019 code analysis warnings 2022-03-05 14:39:56 +01:00
jdgleaver 4c87c307cc
Disable per-game and per-content-directory remaps when running contentless cores (#13687) 2022-03-01 09:45:17 +01:00
jdgleaver 9b0cb0fc92
Add 'Standalone Cores' menu (#13655) 2022-02-22 19:23:48 +01:00
yoshisuga bc02f8319e
[iOS] New iOS 13 project to support Swift; Custom keyboard and touch mouse support (#13435)
* Support for Swift, added emulator keyboard

* fixed toggle key handling using magic number hack for now

* fixed keyboard transparency slider for now with suboptimal fix; add gesture recognizer to hide/show keyboard

* Support CocoaView extensions in Swift; move keyboard delegate impl and setup to swift extension

* moved keyboard view model creation out of EmulatorKeyboard

* implement key pressed delegate in swift extension

* added input method for directly sending RETROK_* codes to support a touchscreen keyboard; assign keyboard model delegates; updated keyboard layout (added F1-F12 keys); change shift, control and alt keys to be modifiers

* enable focus mode when custom keyboard is shown; enable/disable overlay when custom keyboard is toggled

* Specify -DHAVE_OPENGLES2 instead of -DHAVE_OPENGLES3 since glsym_es3.h does not compile in iOS 14.5
Fix tvOS build using compiler flags

* Create new project for iOS 13 deploy target; add check for deploy target to conditionally compile for new iOS 13 specific feature (custom keyboard)

* force disable core info caching for iOS, use opengl es2 for debug

* Add flag for iOS custom keyboard - 3-finger swipe up to show, 3-finger swipe down to hide

* use OpenGLES2 instead; using ES3 results in compile time errors on iOS 14.5

* code cleanup

* Updated references to -DDONT_WANT_ARM_ASM_OPTIMIZATIONS flag

* Add JIT support for non-jailbroken devices

* iOS: Add support for touch mouse handler

* Added a HAVE_IOS_TOUCHMOUSE preprocessor macro so that it builds under the iOS11_Metal xcode project

* Changed click-and-drag behavior to double tap hold and drag

* Visual improvements to the emulator keyboard: updated colors, improved key-press effect
2022-02-22 08:21:34 +01:00
Vladimir Serbinenko f0d8af0d34
Remove gong now that it has been successfully extracted into a standalone core (#13637) 2022-02-18 17:03:35 +01:00
Tony a106dedeb6
Fix default core on 'Add to Favorites' (#13587) 2022-02-01 10:29:56 +01:00
jdgleaver 6ee3c14779
Add 'Core System Files Downloader' entry to the Online Updater (#13524) 2022-01-24 16:41:29 +01:00
twinaphex cc756e4126 Silence some warnings 2022-01-19 19:08:22 +01:00
Cthulhu-throwaway 966335e367
Smaller Netplay Changes (#13387)
Lobby Viewer: Filter out rooms that are not running RetroArch
Lobby Viewer: Display a non-connectable tag to non-connectable rooms.
Host: Display warning if we are announcing to the internet but our room isn't connectable from there.
2021-12-21 15:58:25 +01:00
Cthulhu-throwaway 690c802921
Netplay Stuff (#13375)
* Netplay Stuff

## PROTOCOL FALLBACK
In order to support older clients a protocol fallback system was introduced.
The host will no longer send its header automatically after a TCP connection is established, instead, it awaits for the client to send his before determining which protocol this connection is going to operate on.
Netplay has now two protocols, a low protocol and a high protocol; the low protocol is the minimum protocol it supports, while the high protocol is the highest protocol it can operate on.
To fully support older clients, a hack was necessary: sending the high protocol in the unused client's header salt field, while keeping the protocol field to the low protocol. Without this hack we would only be able to support older clients if a newer client was the host.
Any future system can make use of this system by checking connection->netplay_protocol, which is available for both the client and host.

## NETPLAY CHAT
Starting with protocol 6, netplay chat is available through the new NETPLAY_CMD_PLAYER_CHAT command.
Limitations of the command code, which causes a disconnection on unknown commands, makes this system not possible on protocol 5.
Protocol 5 connections can neither send nor receive chat, but other netplay operations are unaffected.
Clients send chat as a string to the server, and it's the server's sole responsability to relay chat messages.
As of now, sending chat uses RetroArch's input menu, while the display of on-screen chat uses a widget overlay and RetroArch's notifications as a fallback.
If a new overlay and/or input system is desired, no backwards compatibility changes need to be made.
Only clients in playing mode (as opposed to spectating mode) can send and receive chat.

## SETTINGS SHARING
Some settings are better used when both host and clients share the same configuration.
As of protocol 6, the following settings will be shared from host to clients (without altering a client's configuration file): input latency frames and allow pausing.

## NETPLAY TUNNEL/MITM
With the current MITM system being defunct (at least as of 1.9.X), a new system was in order to solve most if not all of the problems with the current system.
This new system uses a tunneling approach, which is similar to most VPN and tunneling services around.

Tunnel commands:
RATS[unique id] (RetroArch Tunnel Session) - 16 bytes -> When this command is sent with a zeroed unique id, the tunnel server interprets this as a netplay host wanting to create a new session, in this case, the same command is returned to the host, but now with its unique session id. When a client needs to connect to a host, this command is sent with the unique session id of the host, causing the tunnel server to send a RATL command to the host.
RATL[unique id] (RetroArch Tunnel Link) - 16 bytes -> The tunnel server sends this command to the host when a client wants to connect to the host. Once the host receives this command, it establishes a new connection to the tunnel server, sending this command together with the client's unique id through this new connection, causing the tunnel server to link this connection to the connection of the client.
RATP (RetroArch Tunnel Ping) - 4 bytes -> The tunnel server sends this command to verify that the host, whom the session belongs to, is still around. The host replies with the same command. A session is closed if the tunnel server can not verify that the host is alive.

Operations:
Host -> Instead of listening and accepting connections, it connects to the tunnel server, requests a new session and then monitor this connection for new linking requests. Once a request is received, it establishes a new connection to the tunnel server for linking with a client. The tunnel server's address and port are obtained by querying the lobby server. The host will publish its session id together with the rest of its info to the lobby server.
Client -> It connects to the tunnel server and then sends the session id of the host it wants to connect to. A host's session id is obtained from the json data sent by the lobby server.

Improvements (from current MITM system):
No longer a risk of TCP port exhaustion; we only use one port now at the tunnel server.
Very little cpu usage. About 95% net I/O bound now.
Future backwards compatible with any and all changes to netplay as it no longer runs any netplay logic at MITM servers.
No longer operates the host in client mode, which was a source of many of the current problems.
Cleaner and more maintainable system and code.

Notable functions:
netplay_mitm_query -> Grabs the tunnel's address and port from the lobby server.
init_tcp_socket -> Handles the creation and operation mode of the TCP socket based on whether it's host, host+MITM or client.
handle_mitm_connection -> Creates and completes linking connections and replies to ping commands (only 1 of each per call to not affect performance).

## MISC
Ping Limiter: If a client's estimated latency to the server is higher than this value, connection will be dropped just before finishing the netplay handshake.
Ping Counter: A ping counter (similar to the FPS one) can be shown in the bottom right corner of the screen, if you are connected to a host.
LAN Discovery: Refactored and moved to its own "Refresh Netplay LAN List" button.

## FIXES
Many minor fixes to the current netplay implementation are also included.

* Remove NETPLAY_TEST_BUILD
2021-12-19 16:58:01 +01:00
Tilman M. Jaeschke 682bbab233
[New Feature] Load save states from command-line or playlist (#13354)
* load save states from command-line or playlist

* load save states from command-line or playlist

* removed some brackets
2021-12-14 14:08:06 +01:00
Tony ecef757af9
Focus on current content entry in Disc Control append/insert (#13282) 2021-11-24 19:01:43 +01:00
Autechre 5f49899343
Bluetooth refactor (#13266)
* Use HAVE_BLUETOOTH ifdef to strip out this code when not defined

* Split up bluetooth code into its own file
2021-11-21 20:44:08 +01:00
Autechre 71b30d7846
Split up wifi networking code - move it into separate file (#13262) 2021-11-21 12:37:39 +01:00
Autechre 9e40966dce
Merge pull request #13249 from ToKe79/lakka2upstream
Upstream patches from Lakka
2021-11-20 22:07:47 +01:00
twinaphex 335c24a895 Remove unused variables 2021-11-20 21:43:40 +01:00
Tomáš Kelemen (vudiq) efad7a7dcc
Lakka: CD-ROM eject menu item
Adds new entry (where the entry for dumping CD is) to eject the disc -
in case the CD drive has no physical button to eject the disc / the
button does not work. Useless for most, but quality of life improvement
for some.

Upstream of patch used by Lakka at build time
1943ad296e/packages/libretro/retroarch/patches/retroarch-99-eject_disc.patch
2021-11-18 00:36:01 +01:00
twinaphex fc460dbb9c Revert "Fix final warning and remove unused variables"
This reverts commit 5dd0e90fca.
2021-11-12 18:59:29 +01:00
twinaphex 13d662d76b Silence some warnings 2021-11-11 22:28:16 +01:00
twinaphex 5dd0e90fca Fix final warning and remove unused variables 2021-11-11 05:48:29 +01:00
Autechre 1280151d13
Merge pull request #13216 from libretro/splitup-record
Split up recording code
2021-11-11 02:00:52 +01:00
twinaphex 86f899c844 Revert "Shorten character arrays that are passed to fill_pathname_base_noext"
This reverts commit 318108ac82.
2021-11-10 08:22:19 +01:00
twinaphex 0b768d0460 Split up recording code 2021-11-10 02:34:04 +01:00
twinaphex 318108ac82 Shorten character arrays that are passed to fill_pathname_base_noext 2021-11-10 00:09:33 +01:00
twinaphex f671ce4f8c Move global->name to runloop_st 2021-11-09 06:03:00 +01:00
twinaphex 3bc6dd97d9 Revert "Revert "Move stray globals to networking state""
This reverts commit a796f1ce58.
2021-11-05 18:55:55 +01:00
twinaphex a796f1ce58 Revert "Move stray globals to networking state"
This reverts commit 96053e14a7.
2021-11-05 18:34:11 +01:00
twinaphex 96053e14a7 Move stray globals to networking state 2021-11-05 18:07:41 +01:00
twinaphex b200ced199 Buildfix for --have-menu 2021-10-15 14:43:25 +02:00
Autechre e7f182811a
Split up audio code into new file audio/audio_driver.c (#13097)
* Split up audio code into new file audio/audio_driver.c

* Fix build issues #1

* Small cleanup

* Fix typo
2021-10-11 18:01:37 +02:00
Francisco Javier Trujillo Mata 9f96723dd0 Adding proper translations for changing resolution 2021-10-04 23:53:55 +02:00
Francisco Javier Trujillo Mata 3bbfcf7b39 Adding to get_video_output_size 2 parameters for additional info 2021-10-04 23:53:55 +02:00
Francisco Javier Trujillo Mata 216675919b Add PS2 Support for changing resolution and offset 2021-10-04 23:53:55 +02:00
Autechre 2c355419bd
Merge pull request #13066 from 3rd-fork/master
Remove usage of winrt storage files from uwp version
2021-10-03 23:12:28 +02:00
Tunip3 be7d6832d3 strip out winrt storagefiles 2021-10-01 09:58:17 +01:00
twinaphex e886e908d5 Create consistent naming conventions - use retroarch_ instead
of rarch_ for some functions for all functions coming from retroarch.h
2021-09-28 12:56:10 +02:00
twinaphex 6eeebeab25 Get rid of gfx_display_set_msg_force 2021-09-21 21:10:38 +02:00
twinaphex 83ce4259a0 Have only one getter for runloop_state 2021-09-21 19:08:26 +02:00
twinaphex f21641d898 Get rid of another 'getter' function 2021-09-21 18:30:56 +02:00
twinaphex 7c8c53fb2d Get rid of menu_driver_get_ptr - we are going to be using only one
getter for each component state instead of several getters
2021-09-21 07:14:27 +02:00
jdgleaver 6da778b934 (Playlist Manager) Add 'Refresh Playlist' option 2021-09-09 16:18:26 +01:00
Autechre 7b9cbc08d7
Add HDR support for D3D12 (rebased PR from MajorPainTheCactus) (#12917)
* Add HDR support

* Attempt to fix Mingw build and Metal builds

* (D3D12) Fix relative header includes

* Add missing hdr_sm5.hlsl.h

* (d3d12_common.c) Some C89 build fixes

* Fix MSVC build

* - Attempt to fix build on mingw/msys unix with dirty hack
- Fix shader compilation of hdr_sm5.hlsl.h on MSVC/Visual Studio -
the define was seen as an error and was causing the first pipeline
to error out
- Make sure we manually set handle of backBuffer to NULL

* Moving the release of the texture above the freeing of desc.srv_heap
and desc.rtv_heap solves the hard crashes on teardown/setup in RA -
it was crashing hard in d3d12_release_texture before

* Add HAVE_D3D12_HDR ifdef - needs to be disabled for WinRT for now
because of several things that are Windows desktop-specific right now
(GetWindowRect)

* Add dirty GUID hack - should work for both mingw/msys on Windows/Linux
as well as MSVC/Visual Studio (hopefully)

* Change HAVE_D3D12_HDR to HAVE_DXGI_HDR

* Move away from camelcase named variables

* Fix RARCH_ERR logs - they need a newline at the end

* d3d12_check_display_hdr_support - make it return a bool on return
and set d3d12->hdr.support and d3d12->hdr.enable outside of the
function

* (DXGI) Remove D3D12 dependencies from dxgi_check_display_hdr_support and
move it to dxgi_common.c instead

* (DXGI) move d3d12_swapchain_color_space over to dxgi_common.c and
rename it dxgi_swapchain_color_space

* (DXGI) move d3d12_set_hdr_metadata to dxgi_common.c and
rename it dxgi_set_hdr_metadata

* (DXGI) dxgi_check_display_hdr_support - better error handling?

* Fix typo

* Remove video_force_resolution

* (D3D12) Address TODO/FIXME

* (D3D12) Backport
c1b6c0bff2
- Fixed resource transition for present when HDR is off
Fixed cel shader displaying all black as blending was enabled when the hdr shader was being applied - turned off blending during this shader

* Move d3d12_hdr_uniform_t to dxgi_common.h and
rename it dxgi_hdr_uniform_t

* (D3D11) Add HDR support

* Add TODO/FIXME notes

* Cache hdr_enable in video_frame_info_t

* Update comment
2021-09-03 06:15:25 +02:00
jdgleaver a6901dc85e Add option to (force-)write current core options to disk 2021-08-26 11:42:46 +01:00
twinaphex 4fae4ead73 Add workaround for MSVC 2021-08-21 20:05:44 +02:00
twinaphex 0f3ae9b03d Try lroundf instead 2021-08-21 19:54:39 +02:00
sonninnos 1e4557c09a Fix refresh rate 59Hz rounding 2021-08-21 18:20:15 +03:00
jdgleaver 0e98b4ddea Add environment callback for enabling core option menu visibility updates without toggling Quick Menu 2021-08-18 16:08:26 +01:00
twinaphex 1ca1d362bf Ifdef this for HAVE_NETWORKING - should fix Emscripten 2021-08-13 07:57:18 +02:00
Autechre 1c82fd29ef
Merge pull request #12786 from sonninnos/resolution-dropdown
Resolution dropdown pop
2021-08-12 19:23:39 +02:00
twinaphex 5b3942eae7 * (PSP/Vita) Remove unused variables
* (Switch/libnx) remove dead code
* (Lakka/Switch/libnx) It was a mistake to include
  switch_performance_profiles.h inside lakka.h, it was creating warnings
for nearly every file. Instead, it gets optionally included for the
files that need it
2021-08-12 18:51:33 +02:00
twinaphex 148a489af5 Add TODO/FIXME note and exclude ifdef for now 2021-08-12 18:28:03 +02:00
sonninnos ef31302bd5 Pop out of Screen Resolution option after selecting 2021-08-12 19:09:51 +03:00
twinaphex 3ce8d14c2e More HAVE_NETWORKING buildfixes for Dingux 2021-08-12 17:14:08 +02:00
Twinaphex 57054a075d (macOS) Fix remaining build errors with netplay discovery ifdefs 2021-08-12 17:11:31 +02:00
twinaphex 027bbe0755 Forgot some more HAVE_NETWORKING ifdefs 2021-08-12 17:03:59 +02:00
twinaphex c76cb77202 Further buildfixes for platforms that don't support
HAVE_NETPLAYDISCOVERY
2021-08-12 16:52:43 +02:00
twinaphex d07e0da412 Improve HAVE_NETWORKING and HAVE_NETPLAYDISCOVERY ifdefs; remove
unused netplay lan scan rooms function
2021-08-12 16:44:07 +02:00
jdgleaver fe1f311a35 Add core option category support 2021-08-06 15:33:47 +01:00
jdgleaver 973f5cda6d Add support for mapping multiple controllers to a single input device 2021-06-21 12:42:38 +01:00
Bernhard Schelling 98194ce135
Allow the 8 analog stick directions to be used as keys for core keyboard mappings (#12506) 2021-06-10 17:00:33 +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
jdgleaver f4511f6fa4 (core_info) Performance optimisations + code clean-ups/refactors 2021-04-26 14:30:31 +01:00
Autechre a56fcfb24a
Revert "Screen Resolution option fixes" 2021-04-17 19:33:23 +02:00
twinaphex 2f0f724813 Use more path_basename_nocompression where we don't have to deal with
archive files
2021-04-11 18:46:50 +02:00
twinaphex 3841fecc59 Cleanups 2021-04-11 17:01:13 +02:00
twinaphex aa0a9f18d5 Fix crash that could happen after loading a remap file manually -
config file was being freed at the end of input_remapping_load_file
when the menu_cbs_ok.c function was still using it afterwards - move
the config_file_free outside of the function and free manually
afterwards when we're done
2021-04-11 13:48:25 +02:00
sonninnos 9062b61511 Separate 'Turbo Fire' menu 2021-03-25 22:28:18 +02:00
twinaphex 8f79e14d0a Silence LGTM static code analysis warnings 2021-03-24 00:25:47 +01:00
twinaphex 8b2eb8ed37 Cut down on config_get_ptr calls in menu_displaylist_ctl 2021-03-21 16:36:36 +01:00
Autechre e62aabea95
Merge pull request #12157 from Jamiras/task_http_cleanup
have http tasks clean up after themselves
2021-03-16 09:06:58 +01:00
Jamiras 501fe45a9f have http tasks clean up after themselves 2021-03-15 19:42:25 -06:00
Autechre 032b96c772
Merge pull request #12142 from crystalct/master
Add some PSL1GHT ifdefs
2021-03-13 22:42:31 +01:00
unknown d653e50e00 Add some PSL1GHT ifdefs 2021-03-13 22:20:09 +01:00
twinaphex 53b4fe7716 This ifdef is no longer needed, remove - also 'push'
was always true so just hardcode it for this function
2021-03-12 10:57:42 +01:00
jdgleaver 20a187ef9c Add option to reset all core options for current core/content 2021-02-25 16:59:05 +00:00
jdgleaver 110e318b71 Add support for saving per-directory core options and deleting core option overrides 2021-02-25 10:54:22 +00:00
Autechre dea73a5595
Merge pull request #12011 from sonninnos/video-resolution
Screen Resolution option fixes
2021-02-16 22:15:55 +01:00
sonninnos 371453623b Screen Resolution option fixes 2021-02-16 22:59:24 +02:00
twinaphex 4b0f344024 Silence some warnings 2021-02-16 20:57:54 +01:00
jdgleaver 537432cb8e Start auto-selecting last used path for more file browser menu entires 2021-02-16 16:20:41 +00:00
jdgleaver 07a5b1c4f4 Manual Content Scan: Auto select last used 'Content Directory' and 'Arcade DAT File' when opening file browser 2021-02-09 17:44:14 +00:00
twinaphex 2763f65ab7 Fix some implicit type conversion warnings 2021-02-09 15:53:08 +01:00
jdgleaver d81bdcddd0 When remembering last selected shader preset/shader pass directories, also remember selected files 2021-02-09 13:14:00 +00:00
Autechre f661cc3fb5
Merge pull request #11572 from ImJezze/master
Option to open the file browser in the last used directory
2021-02-08 12:29:31 +01:00
ImJezze 270c41b35a Implement toggle to open the start directory at the last used location 2021-02-07 11:54:17 +01:00
Autechre e4f8f64336
Merge pull request #11992 from sonninnos/device-index-dropdown
Submenu for Device Index
2021-02-05 20:42:31 +01:00
sonninnos 14413b8bca Submenu for Device Index 2021-02-05 19:49:15 +02:00
jdgleaver 864c2913d8 'On-Screen Notifications' menu clean-ups 2021-02-05 16:55:09 +00:00
sonninnos 8fcf485fd8 Submenu for Device Type 2021-02-04 18:50:10 +02:00
twinaphex 542162c17b Silence some warnings 2021-02-03 10:39:29 +01:00
Autechre 831bbf1300
Merge pull request #11925 from Ryunam/custom-dirs
Enable configuration of the directories used for Favorites, History, Images, Music and Video playlists
2021-02-01 23:20:00 +01:00
Ryunam 4b0502b896 Enable configuration of directory for Favorites, History, Images, Music and Video playlists 2021-01-21 21:28:10 +01:00
Jamiras 015576b2ba
improve error handling for achievement unlocks (#11916) 2021-01-21 04:07:48 +01:00
twinaphex 1b071f16f5 Silence implicit conversion warnings 2021-01-16 20:03:04 +01:00
Autechre 9797ba9f27
Merge pull request #11743 from HyperspaceMadness/Shaders_Fix_Simple_Preset_Relative_Texture_Paths
Shaders Load Refactor and Fix Referenced Texture Loading
2020-12-31 16:13:20 +01:00
Autechre 1681872763
Merge pull request #11772 from fpscan/facebook-gaming
Facebook Gaming stream option
2020-12-28 21:04:09 +01:00
HyperspaceMadness 0c526b6498 Shaders Load Refactor and Fix Referenced Texture Loading
Partial update to work with shaders directly

More Edits

More changes

more shader fixes

More Fixes Compiling, reference load still wrong

Added Feedback & things are working

Logging Fixes

Log Fix

More Fixes

Added Feedback Logging

Fixes for file pathing in Linux

Fix GLCore and Crash in QT Saving

Code Cleanup

Removed Unused Function filepath.c

Code Cleanup
2020-12-26 21:09:27 -05:00
Jamiras 5224e97481 add confirmation submenu to achievements hardcore toggle 2020-12-26 14:15:01 -07:00
twinaphex 870707dbe8 Remove obsolete __CELLOS_LV2__ references - use PSL1GHT instead 2020-12-19 15:32:26 +01:00
Ömercan Kömür 6256b8ca2b first 2020-12-19 15:14:14 +03:00
twinaphex c328b1f94a Put wifi behind HAVE_NETWORKING ifdefs 2020-12-09 22:03:23 +01:00
twinaphex 4db9f01ecb Take this function outside of the ifdef for shaders 2020-12-09 21:54:33 +01:00
David Guillen Fandos ed7b3aa415 Add a proper WiFi menu, with Enable/Disable & Disconnect options
This also allows WiFi passwords to be remembered. The underlying
tool (connman) allows to store passswords (that's why it auto connects
whenever you boot a Lakka device), so we expose this so that the user
does not have to re-input the pass when connecting to a saved wifi.

Option to forget a password to come in a future PR, for now a password
is automatically forgotten if the Wifi connect operation fails (we assume
it fails due to password).

Changes the WiFi API to enable these features of course!
2020-12-09 20:20:48 +01:00
David Guillen Fandos a442696b71 First attempt at adding proper brightness
Supports Switch and OGA
2020-11-26 19:22:05 +01:00
HyperspaceMadness 70bf90c5d8 Shader_Preset_Simple_Save_Cleaned_2020_11_01 2020-11-01 09:18:40 -05:00
jdgleaver a02fadeb94 Add 'Remove DSP Plugin' menu entry 2020-10-19 11:33:15 +01:00
twinaphex 44b7234756 Move cheat_manager and state_manager to root folder 2020-10-15 05:29:20 +02:00
twinaphex 5aa675e059 Cleanups 2020-10-02 21:39:46 +02:00
jdgleaver a04d5c3772 Fix typo in menu_cbs_ok.c 2020-10-01 17:37:04 +01:00
jdgleaver 3bd66cc14d OpenDingux port improvements: Phase 1 2020-10-01 15:56:14 +01:00
Jamiras 02ddbc41cc allow disabling leaderboard notifications and trackers separately 2020-09-25 19:28:56 -06:00
twinaphex 0e49f058f3 Use strcpy_literal in more places 2020-09-19 23:59:06 +02:00
twinaphex 290c88b865 Remove menu_networking.c and merge it into menu_cbs_ok.c and
menu_displaylist.c
2020-09-17 23:15:25 +02:00
jdgleaver bd80f02f11 (Android/Play Store Builds) Add option to switch all installed cores to Play Store versions 2020-09-02 17:13:03 +01:00
jdgleaver 20230ec625 (Android) Play Store builds: Do not resolve symlinks when handling core paths 2020-08-31 12:13:49 +01:00
twinaphex d9bfd4c38f Silence warnings 2020-08-29 19:27:30 +02:00
jdgleaver 4799d2d955 (Android/Play Store) Add frontend support for core installation via Play Feature Delivery 2020-08-28 16:30:54 +01:00
jdgleaver 7a07cc1305 Fix 'Set Core Association' regression 2020-08-26 15:18:39 +01:00
twinaphex 01e5ec94bb Prefer to use string_split_noalloc 2020-08-26 12:41:57 +02:00
Tony Jansson 55554a8707 Cheats maximum search value corrections 2020-08-25 01:05:58 +03:00
Autechre 0b2f19e898
Merge pull request #11226 from Jamiras/rcheevos_globals
(cheevos) eliminate exposed variables for tracking hardcore
2020-08-23 15:05:01 +02:00
Jamiras 2f69d2d4ed eliminate exposed variables for tracking hardcore 2020-08-22 12:18:12 -06:00
twinaphex cce19ac97d Replace more hardcoded strings 2020-08-22 13:04:52 +02:00
twinaphex 4ec216dc0b Get rid of file_path_str 2020-08-22 01:06:10 +02:00
jdgleaver dd66988c98 Add option to remember last selected shader preset/shader pass directories 2020-08-21 17:02:32 +01:00
twinaphex dc3dc574d8 String stack size cleanups 2020-08-19 06:53:09 +02:00
twinaphex ad7db2e2b8 Move path variables off heap size; prevent potential memory
fragmentation
2020-08-18 12:44:14 +02:00
Autechre f5600aba7f
Merge pull request #11192 from sonninnos/master
Remap file loading fixes
2020-08-14 19:48:38 +02:00
Tony Jansson a8faacc926 Remap file loading fixes 2020-08-14 15:40:49 +03:00
jdgleaver e76f5a212a (core_updater_list) Replace static entries array with dynamic array via RBUF library 2020-08-14 12:33:49 +01:00
twinaphex 3680804217 Undo path_basedir_size 2020-08-04 03:05:20 +02:00
jdgleaver 776301883c Enhanced playlist search functionality 2020-07-31 15:14:51 +01:00
jdgleaver d77f6705df Add option to hide 'Explore' tab + menu clean-ups 2020-07-29 13:01:49 +01:00
alphanu1 e222d62f6c
Merge pull request #7 from libretro/master
upstream
2020-07-28 18:55:54 +01:00
Autechre 8cb861798e
Merge pull request #11075 from francescotintori/francesco/playlist_autofix
Playlist base content directory paths
2020-07-28 16:10:20 +02:00
alphanu1 55e3bd3d2d Added ability to adjust porch values
Porches can now be manipulated from the CRTSwitchRes menu
2020-07-28 14:25:38 +01:00
Bernhard Schelling 667e8a558e Explore view - WIP1
A top content view that combines all playlists with database entries to browse by year, developer, system, etc.
Depends on the quality of the available metadata in the database (RDB) files.
2020-07-28 04:44:31 +02:00
francescotintori 9744fcb76a Adds base content directory support in playlists. If playlist base content directory does not match configuration parameter 'rgui_browser_directory', all entries paths are automatically fixed to match parameter 'rgui_browser_directory'.
Functionality is enabled if new parameter 'playlist_autofix_paths' is enabled.
2020-07-27 20:59:56 +02:00
jdgleaver 9a19a7ae31 Core option improvements 2020-07-24 15:31:50 +01:00
jdgleaver 60407a84e6 Add input remap drop-down lists 2020-07-23 17:20:41 +01:00
jdgleaver 75b3b5350c Add 'Notification Visibility' menu 2020-07-16 16:32:01 +01:00
twinaphex 8656b3d6f8 Create specialized optimized path_basedir_size 2020-07-11 19:29:43 +02:00
jdgleaver e87b8311c8 (Static Platforms) Add option to not restart RetroArch when launching content with the currently loaded core 2020-07-03 17:12:23 +01:00
twinaphex 223d76680a Add HAVE_CHEATS ifdef 2020-06-30 19:35:55 +02:00
Hugo Hromic 9b2a4f3c21 (Menu) Fix cursor forced to first entry after displaying lists 2020-06-30 13:59:52 +01:00
twinaphex cf4b406366 Prevent NULL-pointer dereference 2020-06-30 07:04:55 +02:00
twinaphex 5479196a79 Get rid of setting_get_type 2020-06-30 05:21:47 +02:00
twinaphex 497dc7a38a (menu) move headers around - no more menu/widgets 2020-06-27 19:33:49 +02:00
twinaphex 8259a0fd89 (Menu) Merge menu_filebrowser.c into menu_displaylist.c 2020-06-27 18:54:14 +02:00
Autechre 10ddb274bc
Merge pull request #10866 from parport0/master
Add a bluetooth driver
2020-06-27 16:46:11 +02:00
jdgleaver 0fcfb3deda Refactor playlist struct configuration 2020-06-26 15:40:19 +01:00
twinaphex de36ff20fb Create string_ends_with_size 2020-06-25 14:38:06 +02:00
parport0 23c08ad9b0 Add bluetoothctl bluetooth driver 2020-06-24 12:53:27 +03:00
jdgleaver 80f36e16d0 Add option to selectively 'lock' (prevent modification of) installed cores 2020-06-18 17:36:33 +01:00
jdgleaver 0c18da5d49 (Disk Control Interface) Enable 'Load New Disc' while disk tray is open 2020-06-17 11:43:54 +01:00
jdgleaver 2782b87267 Add option to automatically backup cores when updating 2020-06-16 11:12:22 +01:00
jdgleaver 42ad070a1d Add 'core management' menu 2020-06-11 14:12:20 +01:00
jdgleaver eb425b997b Suppress the display of 'empty' quick menu listings when closing content 2020-06-09 14:09:22 +01:00
twinaphex 12b22b7904 (Windows) Fix core path entries in image/video/music history playlists 2020-06-08 17:33:21 +02:00
twinaphex 5fc12c7761 Dehardcode strings and other cleanups 2020-06-08 16:02:06 +02:00
jdgleaver ba6e53c2e4 Fix launching of playlist content assigned to 'built-in' cores 2020-06-08 12:00:40 +01:00
twinaphex 4990bebd8a Turn macro names into all-caps 2020-06-07 02:41:48 +02:00
jdgleaver 445921ac5d Core info search optimisations + improved core selection logic + clean-ups 2020-06-06 13:59:28 +01:00
jdgleaver 0a33e562f4 Add option to backup/restore installed cores 2020-06-04 12:20:58 +01:00
twinaphex 8ddacead9f Cleanups 2020-05-29 10:37:01 +02:00
jdgleaver 044bd03a13 More core updater improvements 2020-05-28 17:48:18 +01:00
twinaphex 9fe01ff0c8 Replace strstr with string_ends_with 2020-05-23 00:41:14 +02:00
twinaphex 31674f9246 Use string_ends_with and string_starts_with 2020-05-22 20:57:48 +02:00
twinaphex 6dc758a080 Move cheevos-new to cheevos/ 2020-05-21 23:23:01 +02:00
twinaphex 6173d11b62 Silence unused function warning 2020-05-20 23:35:32 +02:00
twinaphex 03ea12d334 Move discord files to network/ 2020-05-20 15:27:27 +02:00
twinaphex 6a4a522244 Cut down on some code duplication and turn
retroarch_validate_game_options static
2020-05-11 17:19:55 +02:00
twinaphex 39dbfd1db4 Remove unused menu_content.h 2020-05-11 02:32:45 +02:00
twinaphex 1e9b94ded4 Get rid of hash 2020-05-10 05:05:43 +02:00
jdgleaver fa9290cf1e Add optional playlist compression 2020-04-21 16:44:26 +01:00
jdgleaver 223cae66c1 (Playlist Management) Add optional per-playlist alphabetical sorting 2020-04-10 17:07:49 +01:00
jdgleaver ad8a1174f7 Improve handling of 'broken' playlists 2020-04-07 12:00:16 +01:00
twinaphex 4fd3cac319 (Menu) remove ident 2020-03-28 01:59:15 +01:00
twinaphex 79dc998a7b Get rid of the remaining hashes 2020-03-27 19:05:54 +01:00
twinaphex 75a33b3662 (Menu cbs OK) Get rid of label hashes 2020-03-27 18:35:10 +01:00
twinaphex 4a95cb7b54 Cleanups 2020-03-26 16:46:49 +01:00
twinaphex e81e53bdf6 (Menu cbs OK) Rewrite this into a loop 2020-03-26 16:44:16 +01:00
twinaphex ae48da5ebf Cleanups 2020-03-26 14:57:02 +01:00
twinaphex 3d24439276 (Menu cbs ok) Get rid of unused hashes 2020-03-26 14:54:09 +01:00
twinaphex 1f553ac1c4 Get rid of menu_shader_set_modified - instead, add a single
'modified' variable to video_shader struct
2020-03-06 17:05:20 +01:00
twinaphex d592959be8 When settings struct gets modified, go through macros to set
the modified flag
2020-03-05 13:00:43 +01:00
twinaphex 32e4aea068 Start making the other code safe that is dependent on menu driver
ident checking
2020-03-04 20:47:39 +01:00
twinaphex 0ef1b342e4 settings Cleanups 2020-03-02 20:10:24 +01:00
twinaphex 22ada33990 Cleanups - get rid of label hash 2020-02-29 15:01:10 +01:00
twinaphex 6c82a3802e Remove more hashes 2020-02-23 10:20:29 +01:00
twinaphex 19f9ffc99f Get rid of more hashes 2020-02-23 09:22:30 +01:00
twinaphex 903668aecf CXX_BUILD buildfix 2020-02-21 05:00:08 +01:00
twinaphex 6b7f794494 Cleanups 2020-02-21 03:28:23 +01:00
twinaphex 068529929b Cleanups 2020-02-19 22:06:21 +01:00
twinaphex 85c672a0f6 Settings pointer cleanups 2020-02-19 20:57:02 +01:00
twinaphex c71469c715 Rename menu_display to gfx_display 2020-02-16 15:10:07 +01:00
twinaphex 369348ebaf (Managers) Get rid of settings_t dependencies 2020-02-14 14:24:38 +01:00
twinaphex dad077adf3 Cleanups 2020-02-14 14:11:25 +01:00
twinaphex b7a17442d9 (menu_shader.c) Remove configuration.h dependency 2020-02-13 02:04:35 +01:00
twinaphex 880391d0c5 (libnx) Try to silence warnings 2020-02-10 12:36:11 +01:00
Twinaphex 51964eee20 Remove unused variable 2020-02-05 07:17:25 +01:00
twinaphex 2c2ab2a7b9 Revert "Cleanups"
This reverts commit 110dda6e48.
2020-02-04 04:49:25 +01:00
twinaphex 110dda6e48 Cleanups 2020-02-04 03:10:58 +01:00
twinaphex cd20966fc8 Remove more settings_t dependencies 2020-02-03 08:00:08 +01:00
twinaphex 3fd40c03bf (tasks/task_core_updater.c) get Rid of some settings dependencies 2020-02-03 07:37:05 +01:00
twinaphex e0fdd8d39e Add back HAVE_CONFIGFILE ifdef - will strip out remaps and overrides
support as well
2020-02-02 21:27:38 +01:00
jdgleaver f538e04fd2 Prevent out-of-bounds array indexing when displaying/selecting netplay rooms in menus 2020-01-28 12:42:26 +00:00
twinaphex 3f598a0f9c Revert "Get rid of send debug info - if we ever bring this back, needs to be"
This reverts commit c0482ff2ea.
2020-01-25 15:55:11 +01:00
twinaphex c0482ff2ea Get rid of send debug info - if we ever bring this back, needs to be
reimplemented according to new infra
2020-01-25 14:53:04 +01:00
jdgleaver 00397a33f0 (Disk Control Interface) Add support for saving/restoring last used disk in playlists + code overhaul 2020-01-22 17:09:12 +00:00
twinaphex 276b7a03f1 Remove 'automatically add content to playlist' option - causes
memory corruption; not worth it for now
2020-01-22 17:08:02 +01:00
Jamiras 7325147d83 add task_push_http_transfer_file 2020-01-17 19:48:40 -07:00
jdgleaver a2e1d622e1 Add disk control interface API extension 2020-01-17 16:34:05 +00:00
jdgleaver e7733abc40 (Playlist Management) Add 'Clean Playlist' option 2020-01-15 18:00:51 +00:00
jdgleaver b5eba22aaf Disk control interface improvements 2020-01-14 12:30:08 +00:00
twinaphex 066089873b Prevent warning when HAVE_NETWORKING is not defined 2020-01-11 04:13:05 +01:00
jdgleaver 495ad41741 Thumbnail downloader clean-ups 2020-01-10 11:08:36 +00:00
jdgleaver edec9448c4 Fix manual core installation 2020-01-09 14:13:21 +00:00
twinaphex 9c6c10da22 (Playlist) Get rid of settings_t dependency 2020-01-04 12:04:00 +01:00
twinaphex fc4a5ad691 Revert "Configurable lobby URL"
This reverts commit cc0b7c42d1.
2020-01-02 15:30:50 +01:00
twinaphex cc0b7c42d1 Configurable lobby URL 2020-01-02 10:15:21 +01:00
jdgleaver 569014c5d2 (Filebrowser) Fix file selection issues when starting from (or navigating to) the top level directory 2019-12-31 12:34:03 +00:00
twinaphex 4137273002 Move netplay_refresh_rooms_menu to menu_displaylist.c and rename
it menu_displaylist_netplay_refresh_rooms
2019-12-30 06:44:14 +01:00
twinaphex 106c912eb5 (Netplay hosting)
- Remove clear
- Use index offset variable
2019-12-30 05:49:45 +01:00
twinaphex 3fe8806018 (Subsystem Settings) Create separate subsystem settings list - will
be selectively hidden later based on whether subsystems are implemented
for the core
2019-12-30 05:43:48 +01:00
twinaphex 2169a25b0a Create Netplay Hosting submenu 2019-12-30 03:01:52 +01:00
twinaphex fdd4915718 Add Network Settings to Netplay tab 2019-12-30 02:22:23 +01:00
twinaphex 0df043aff1 (Menu) Refactor Quick Menu - Controls - each port now has its own
submenu
2019-12-24 07:36:01 +01:00
twinaphex f47b07e35a (Menu) Quick Menu - Cheats - Delete All no longer requires five
right button presses - this should fix this functionality for mobile
touch users too
2019-12-24 05:13:24 +01:00
twinaphex 20f3b8d404 Buildfix for non-shader targets 2019-12-24 03:15:51 +01:00
Twinaphex 4322d0c3fe
Merge pull request #9885 from jdgleaver/core-update
(Core Updater) Only download when new core is available + add option to update all installed cores
2019-12-23 20:02:43 +01:00
Twinaphex 1d0be580c5 (Menu) Remove unused variables 2019-12-23 19:43:09 +01:00
jdgleaver 695749f155 (Core Updater) Only download when new core is available + add option to update all installed cores 2019-12-23 17:34:44 +00:00
twinaphex 9988bae6f4 (Shader) Implement shader parameter action OK callbacks 2019-12-23 05:39:10 +01:00
twinaphex e93d90bc45 Fix build on platforms that don't have shader support 2019-12-22 08:12:42 +01:00
twinaphex d057d2a202 (Menu) Implement action OK callback for Quick Menu -> Shaders -> Passes 2019-12-22 07:14:20 +01:00
twinaphex 3033491f3d Turn HAVE_EASTEREGG into HAVE_GONG 2019-12-22 03:08:02 +01:00
twinaphex de1e66f7a9 (Menu) Add Input -> Haptic Feedback submenu 2019-12-20 20:49:30 +01:00
twinaphex 13793885f3 (Menu) Add Input -> Menu Controls settings submenu 2019-12-20 19:24:35 +01:00
twinaphex 23ce202d38 (Menu) Add Audio -> Resampler settings 2019-12-20 02:16:31 +01:00
twinaphex 94907678eb (Menu) Add Audio -> output and Audio -> Synchronization 2019-12-20 01:18:28 +01:00
twinaphex aa537310ad (Menu) Create Video -> Synchronization 2019-12-19 19:39:02 +01:00
twinaphex 39ebd6e8d1 (Settings) Add Video -> Output 2019-12-19 19:15:57 +01:00
twinaphex e8babede53 (Menu) Create Settings -> Video -> Fullscreen and Windowed submenus 2019-12-19 18:53:51 +01:00
twinaphex 36af159991 (Menu) Settings - Video - Add Scaling subsection 2019-12-19 18:22:22 +01:00
jdgleaver 9b012e907a (Manual Content Scanner) Enable automatic naming of arcade content via DAT files 2019-12-04 12:46:04 +00:00
twinaphex cab8663713 (Accessibility) Start adding Accessibility settings - empty for now 2019-12-04 08:25:24 +01:00
twinaphex 177ca956f1 Code de-duplication 2019-12-02 21:08:21 +01:00
twinaphex e13febc82b (menu cbs ok) Code de-duplication 2019-12-02 21:05:04 +01:00