Commit Graph

12511 Commits

Author SHA1 Message Date
Jean-André Santoni e839cf8434 Fix indentation in xmb.c 2021-10-05 11:29:48 +07: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
Francisco Javier Trujillo Mata c8a46e6e69 Add option for change video windows offsets, from video output 2021-10-04 23:53:54 +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 fde3406d1b Get rid of input_event_get_osk_ptr/get_osk_grid 2021-10-01 07:37:33 +02:00
Autechre 8807e2957e
Input refactors pt3 (#13053)
* Move more internal state over to input_driver.c and menu_driver.c -
retroarch.c now down to 893kb
- Remove now unused p_rarch pointers in functions
2021-10-01 07:18:30 +02:00
twinaphex e9a4e811ac Move more code and variables from rarch_state out to input_driver
and menu_driver
2021-10-01 00:41:50 +02:00
twinaphex b1410c72e5 - Move disp_get_ptr to gfx_display.c
- Move menu_driver_init to menu_driver.c, and turn
menu_driver_init_internal into static function
2021-09-30 17:14:26 +02: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 e4bec6739c Move code over to menu_driver.c 2021-09-28 12:07:29 +02:00
twinaphex 8ef9065c86 Get rid of menu_driver_is_alive - we don't want these one/two-line getters/setters anymore 2021-09-28 10:27:00 +02:00
twinaphex e31fbb8048 Move menu_driver_alive to menu_state 2021-09-28 10:11:13 +02:00
twinaphex 1e29ba3cd6 Move menu_driver_is_binding to menu_state 2021-09-28 09:52:46 +02:00
twinaphex 9e26012751 Move menu_driver_init_internal to menu_driver.c 2021-09-28 09:32:11 +02:00
twinaphex 0448afab96 Move video driver functions over to gfx/video_driver.c 2021-09-27 19:37:22 +02:00
Nathan Strong fb86ca6e33 Fix the snprintf warnings for everyone this time
== DETAILS
So, basically this back-and-forth is because we used fixed-size
data types (i.e. `uint32_t`) which maps to different primitive data
types on different platforms. So `uint32_t` might be a `long` on some
platforms (e.g. Wii U), while it's just a plain integer on others (PC).
And the format specifier works off primitive data type, not data type
size.

So, to resolve this, we:

- keep `%lx` as the format specifier
- cast the parameter to printf to unsigned long

This is better than the alternatives that could cause problems trying to
cast a long down to an int.
2021-09-25 15:08:34 -07:00
Nathan Strong 9b2d4236ad WIIU: Clean up a bunch of compiler warnings
== DETAILS
These changes fall into a few broad categories:

1. Explicitly undefine things we want to re-define due to conflicts with
   the version of devkitpro we're using
2. Clean up hex format specifiers to use `%lx` or `%lX` when working with
   long integers
3. Move variables inside the ifdef they're used in to squelch "unused variable"
   messages
4. Add parenthesis to make Wii U shader declarations stop complaining

And then there's a weird "misleading indent" warning that I fixed by just
rewriting a block of code to use a switch statement instead of if-then-else.

These changes work fine on Wii U, but we'll need to keep an eye on CI/CD to see
if other platform builds break.
2021-09-25 13:25:39 -07:00
Ben Hamilton (Ben Gertzfield) 1970786932
New feature: Use gamepad combo to quit Retroarch (#13017)
* Refactor menu toggle combo button logic to allow quit combo button

* Quit gamepad combo

* Fixes from @jdgleaver
2021-09-24 18:30:46 +02:00
twinaphex 1ff024be26 Don't do rotate_z call for every draw_texture_slice call 2021-09-21 21:38:07 +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 1b7dea7e8e Move code over to menu_driver.c 2021-09-21 18:14:01 +02:00
twinaphex c42f932c3f Moved code over to menu_driver.c 2021-09-21 18:04:48 +02:00
twinaphex 33f075191d Silence warning for libnx 2021-09-21 17:53:50 +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
twinaphex 44012ace47 move more menu state over to menu_driver.c 2021-09-21 06:05:25 +02:00
twinaphex 28e0b669d2 (menu) move more state over 2021-09-21 05:44:53 +02:00
twinaphex 58bc88d433 Move menu_driver_state over to menu_driver.c and move it out of
p_rarch
2021-09-21 05:33:46 +02:00
twinaphex 30353ac8f2 move more code out of retroarch.c/retroarch_data.h and into
menu_driver.c
2021-09-21 05:11:39 +02:00
twinaphex d68a138250 Move more menu state to menu_state_t - and move code from
retroarch.c to menu_driver.c
2021-09-21 04:51:38 +02:00
twinaphex c4b8fab0d0 Move menu_input_state to menu_state 2021-09-21 04:20:04 +02:00
twinaphex beea0e2c8d Fix header include 2021-09-21 00:52:05 +02:00
twinaphex f3b2e233bb Move more code to menu_driver.c 2021-09-21 00:51:15 +02:00
twinaphex ec55f8188a Move code out of retroarch.c and into menu/menu_driver.c 2021-09-21 00:12:26 +02:00
twinaphex e2e236f1bf Create menu_state_get_ptr() 2021-09-21 00:00:50 +02:00
twinaphex 295aa84a9e Cleanups 2021-09-20 20:43:05 +02:00
twinaphex f587d28a0d Buildfix 2021-09-20 08:09:43 +02:00
twinaphex 238eb649a2 Split up midi_driver code to midi_driver.c 2021-09-20 03:43:37 +02:00
twinaphex 1c546cb7fd move more code out of retroarch.c 2021-09-18 21:03:16 +02:00
twinaphex 7c74e035b0 Small cleanups 2021-09-18 06:15:02 +02:00
Michael Burgardt d8db234df0
Concatinate some previously truncated strings for easier translation (#12120) 2021-09-16 19:00:14 +02:00
twinaphex 251bfdb302 Buildfix for prior PR 2021-09-16 01:15:36 +02:00
Tony 5aafe9eb0c
Add distinct mouse zero index label for drivers that do not support multimouse (#13000) 2021-09-16 01:08:03 +02:00
twinaphex 5e4ce74000 Get rid of duplicate code in gfx_widgets -
gfx_display_get_widget_dpi_scale made redundant
2021-09-13 20:21:36 +02:00
twinaphex 490233f3c5 wite_texture is now a static global variable inside gfx_display.c
- no longer referenced outside
2021-09-13 19:55:53 +02:00
twinaphex fe14274b96 Get rid of referencing of gfx_display_white_texture outside 2021-09-13 19:20:43 +02:00
twinaphex fc4d4c53cd Cleanup some references to gfx_display_white_texture and
don't assume NULL == 0 for uintptr_t
2021-09-13 19:07:09 +02:00
MajorPainTheCactus 3c6bdfd0d8
Fixed numerous issues with HDR (#12979)
* Fix for warning and fix for incorrect comment

* Fixed contrast to be more correct - now scales from 0-10 linearly and behaves more the way you'd expect it to - changed name to ditch legacy settings users may have
Added ability to skip inverse tonemapper to the shader via the constant buffer using 'inverse_tonemap' - set to 0.0f to skip
Fixed potential bug when swapping between hdr and sdr and the bit depth not being set correctly
Fixed dx11's blend, rasterizer and topology states not being set to the sames when using hdr and leaving the menu - caused issues with PCSX2's Shadow of the Colossus
Added numerous helper functions to help create the correct values to colour the UI - normally the white UI elements should be rendered at paper white not max brightness for various reasons

* Fix stylistic issues - * Don't use camelcase for variables and function names * Use '(void)' for function declarations instead of () in C code * Declare variables at the top of a function or code block * Make sure functions that return a value always have a default return path that is not encapsulated by an else block * Use more unique names for retro_math functions which are less likely to overlap with other libraries' function symbols

Co-authored-by: twinaphex <libretro@gmail.com>
2021-09-13 16:54:50 +02:00
twinaphex b5138b6122 Move input_config_get_bind_string to input_driver.c 2021-09-12 17:41:00 +02:00
twinaphex 3d303a63df (Ozone) Reduce rotate_z calls 2021-09-12 17:14:03 +02:00
twinaphex c3cd3b34b0 (XMB) Reduce amount of times we call blend_begin/blend_end and
rotate_z
2021-09-12 17:06:59 +02:00
twinaphex 2490f6e215 Move code from retroarch.c to video_shader_parse.c 2021-09-11 18:15:35 +02:00
twinaphex f09be107c6 Cleanup some extra ifdefs 2021-09-11 17:56:44 +02:00
Autechre 27bd9868d7
Merge pull request #12963 from jdgleaver/playlist-refresh
(Playlist Manager) Add 'Refresh Playlist' option
2021-09-09 18:44:42 +02:00
twinaphex c75bb549e5 Move another function over to menu_driver.c 2021-09-09 17:26:59 +02:00
twinaphex 4830150d22 Move function out of retroarch.c and into menu_driver.c 2021-09-09 17:21:48 +02:00
jdgleaver 6da778b934 (Playlist Manager) Add 'Refresh Playlist' option 2021-09-09 16:18:26 +01:00
twinaphex 772282eeec Move menu shader code over to menu_driver.c 2021-09-09 15:33:17 +02:00
twinaphex 28389d30e8 Move some code from retroarch.c over to menu_driver.c 2021-09-09 15:22:12 +02:00
Michael Burgardt 303d17e2e6 Rebase 'Add generic rumble gain to input settings' by davidgfnet 2021-09-08 19:52:32 +02:00
twinaphex 10782f9abc Cleanups - move code over to menu_driver.c 2021-09-07 11:55:12 +02:00
twinaphex a0856c9847 Move another function to menu_driver.c 2021-09-07 07:14:27 +02:00
Autechre 36888612eb
Reduce gfx_display_rotate_z calls in menu drivers (#12937)
* (Ozone) Take out gfx_display_rotate_z out of ozone_draw_icon -
lots of matrix rotates and multiplies were happening when
just calling it once would suffice

* (MaterialUI) Reduce calls to gfx_display_rotate_z

* (XMB) Cleanup
2021-09-05 03:46:52 +02:00
twinaphex f597138827 Cleanups 2021-09-04 21:40:37 +02:00
twinaphex b05a0d5aed * Enable HDR for WinRT/UWP (only works on PC UWP for now, won't work on Xbox yet swapchain
issues with both D3D11/12)
* Add sublabel for Expand Gamut
*
2021-09-04 21:36:48 +02:00
twinaphex 28d1788e1e (HDR) Add sublabels 2021-09-04 19:59:16 +02:00
twinaphex 19f4504943 Prevent collision with quasi88 in statically linked cores 2021-09-03 21:29:38 +02:00
bulzipke 8adc24ecbc
(3DS) Add bottom screen menu (#12470)
* (3DS) Add bottom screen menu
 -> User can save/load state on botom screen with thumbnail.
 -> Call a save_state_to_file() when RAM state has data to write a disk.
 -> If the bottom screen needs updating, swap the bottom framebuffers.

Add: SAVE/LODE STATE TO RAM
 -> This is useful for devices with slow I/O
 -> 3DS bottom save state use CMD_EVENT_SAVE_STATE_TO_RAM
 -> 3DS bottom load state use CMD_EVENT_LOAD_STATE when RAM state has no data
 -> 3DS bottom load state use CMD_EVENT_LOAD_STATE_FROM_RAM when RAM sate has data

* Rewrite path_get_state to retroarch_get_current_savestate_path

* Fix unterminated state_path
2021-09-03 18:14:03 +02:00
Autechre 51dcad6cb3
Merge pull request #12932 from jdgleaver/cheat-search
Add enhanced search functionality to the 'Cheats' menu
2021-09-03 17:03:58 +02:00
jdgleaver 508b0c2ee2 Add enhanced search functionality to the 'Cheats' menu 2021-09-03 14:58:33 +01:00
jdgleaver 743aea1810 Fix cheats when using second instance runahead 2021-09-03 11:27:12 +01:00
twinaphex a0e4d64c3b menu_bind_state struct definitions need to be moved over to menu_input.h 2021-09-03 06:48:06 +02:00
twinaphex 93dbd746db (Android) Buildfix 2021-09-03 06:31:40 +02: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
twinaphex 9ea6f15c1d (Ozone) Forgot to add ozone.c file 2021-08-31 18:43:58 +02:00
twinaphex d0d495edc3 Combine all ozone files into one - discussed internally first -
allows us to modify the scope of the global variables from public
to static - also allows for easier refactors amongst
XMB/materialui/Ozone/RGUI later
2021-08-31 18:42:43 +02:00
twinaphex a785bd8d80 Remove HAVE_STRIPES - unfinished and unusable menu driver right
now
2021-08-31 17:50:24 +02:00
twinaphex fb35460c6d Move more code over 2021-08-31 01:47:57 +02:00
twinaphex 5677799faf Move more code over 2021-08-31 01:27:36 +02:00
twinaphex 0db409d5b5 Move lots of menu code over to menu/menu_driver.c - moved at least
44Kb of code over
2021-08-31 00:43:04 +02:00
jdgleaver 32e2aacd3c Allow 'Custom Aspect Ratio (X Position)/(Y Position)/(Width)/(Height)' to be entered manually via keyboard 2021-08-27 11:21:29 +01:00
twinaphex 7f08729a5e Revert "(gfx_display) Make gfx_display_set_fb_size - get rid of the small"
This reverts commit 618cfacd59.
2021-08-26 18:42:43 +02:00
twinaphex 618cfacd59 (gfx_display) Make gfx_display_set_fb_size - get rid of the small
getter/setter functions - also finally take this opportunity to stop
setting framebuffer width/height/pitch for menu drivers that don't
use a framebuffer texture at all
2021-08-26 18:26:44 +02:00
jdgleaver a6901dc85e Add option to (force-)write current core options to disk 2021-08-26 11:42:46 +01:00
Autechre 23a06ef1a1
Merge pull request #12863 from sonninnos/config-ar
Default aspect ratio + sublabel correction
2021-08-25 17:29:25 +02:00
Autechre ab3385c73d
Merge pull request #12870 from sonninnos/menu-sound-sublabel
Add sublabel for 'Menu Sounds'
2021-08-24 20:18:34 +02:00
sonninnos f21f113678 Add sublabel for 'Menu Sounds' 2021-08-24 21:05:21 +03:00
Autechre dbb74ba5ab
Merge pull request #12823 from markwkidd/input-drivers
input_driver refactor
2021-08-24 18:45:20 +02:00
jdgleaver d35200aa56 Highlight currently selected value in Shader Parameter drop-down lists 2021-08-24 14:45:57 +01:00
Autechre cc7247aecf
Merge pull request #12855 from jdgleaver/core-info-cache-path
Remove core path from core info cache
2021-08-24 11:27:31 +02:00
Autechre 024dbb5008
Merge pull request #12862 from sonninnos/video-sublabels
Add missing sublabels for video options
2021-08-24 11:26:40 +02:00
Autechre 41afbc30ef
Merge pull request #12859 from jdgleaver/refresh-rate-entry
Allow 'Vertical Refresh Rate' to be entered manually via keyboard
2021-08-24 11:26:24 +02:00
sonninnos eb49458284 Default aspect ratio + sublabel correction 2021-08-23 18:13:46 +03:00
sonninnos 71ca56e0fb Add missing sublabels for video options 2021-08-23 17:44:02 +03:00
jdgleaver f505d625a3 Fix segfault when accessing 'Audio' menu on platforms without mixer support 2021-08-23 15:37:29 +01:00
jdgleaver 6855b7f2b1 Allow 'Vertical Refresh Rate' to be entered manually via keyboard 2021-08-23 13:55:19 +01:00
jdgleaver f0a510c8a6 Remove core path from core info cache 2021-08-23 11:47:08 +01:00
twinaphex bea512b70b Get rid of gfx_display_draw_texture - use gfx_display_draw_quad instead 2021-08-22 17:57:21 +02: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 559a173e8b Relocate 'Manage Playlists' to top 2021-08-21 20:18:12 +03:00
sonninnos 1e4557c09a Fix refresh rate 59Hz rounding 2021-08-21 18:20:15 +03:00
Autechre 21d3c13ed3
Merge pull request #12837 from sonninnos/ozone-check
(Ozone) Ensure the existence of values used in selection calculation
2021-08-21 14:33:14 +02:00
Autechre 393343c03c
Merge pull request #12839 from sonninnos/refresh-rate-notifications
Fix double notifications with refresh rate settings
2021-08-21 14:32:55 +02:00
sonninnos 4f57b6f6fa Fix double notifications with refresh rate settings 2021-08-21 15:09:19 +03:00
sonninnos 7a6434ecb2 (Ozone) Ensure the existence of values used in selection calculation 2021-08-21 13:10:59 +03:00
twinaphex eb50d7dbb4 (UWP) Push temporary fixes for issue that happens when resizing on UWP
with latest Xbox Series dashboard; DXGIResizeBuffers passing 0, 0 as
width/height is apparently problematic as it changes 0, 0 to 8,8
instead,
breaking the program
2021-08-20 23:16:01 +02:00
twinaphex 77a17b213d Fullscreen resolution width/height settings no longer require
'advanced settings'
2021-08-20 15:18:03 +02:00
Mark W. Kidd 5f834a8cb3 input_driver refactor 2021-08-19 20:02:39 -04:00
Autechre ae327a769b
Revert "input refactoring: create input_driver.c" 2021-08-18 18:45:53 +02:00
Autechre a66b1b3e48
Merge pull request #12703 from markwkidd/input-drivers
input refactoring: create input_driver.c
2021-08-18 18:17:43 +02: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 97b9a79fc0 Reproduced crash occurring on OSX upon entering 'Load Content'
menu, this fixes it
2021-08-18 16:10:19 +02:00
Mark W. Kidd 5a8920c862 input_driver refactor 2021-08-17 08:56:29 -04:00
jdgleaver fa7dd0f6d9 Add facility to cap maximum window size in windowed mode 2021-08-16 17:49:11 +01:00
Ash Logan 692f4443f4 (WiiU) Add option for running without core info (emscripten-style)
Very useful when wiiloading a test binary or running in emulation
2021-08-14 20:26:14 +10:00
twinaphex a489f1275a (Ozone) Casting to unsigned caused an integer overflow and after float
promotion would lead to 'x' being a garbage value, leading to problems
when this value was passed to vkCmdSetViewport. This stops Vulkan
validation layers from complaining about it
2021-08-14 02:20:56 +02:00
jdgleaver c4880ca840 Add option to disable core option categories 2021-08-13 16:18:02 +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
twinaphex 406c8bee7b Silenc some warnings 2021-08-09 21:24:03 +02:00
Autechre ef3dbc8378
Merge pull request #12749 from jdgleaver/core-option-category
Add core option category support
2021-08-09 14:19:00 +02:00
sonninnos 60e25c5e3b Change default mouse index to port index 2021-08-06 17:42:39 +03:00
jdgleaver fe1f311a35 Add core option category support 2021-08-06 15:33:47 +01:00
Autechre a2fb0847ae
Merge pull request #12743 from sonninnos/mouse-display-name
Friendly names for mice where available
2021-08-06 00:12:04 +02:00
sonninnos bd3533f05d Friendly names for mice where available 2021-08-06 00:21:17 +03:00
sonninnos a58676709a Show content info label+path rows always 2021-08-05 21:28:08 +03:00
twinaphex 5dd06ccfcd Get rid of duplicate input_keyboard_line_complete occurrences 2021-08-04 21:33:17 +02:00
Bernhard Schelling 39275e8ce3
Fix CRC32 reading in explore
If CRC32 contained a zero byte strlen doesn't work
2021-08-03 23:38:37 +09:00
Autechre f9c0cb198c
Revert "I have added a new theme for Ozone (Ocean Blue)" 2021-08-02 17:14:45 +02:00
Autechre c427e9d9ba
Merge pull request #12420 from SecularSteve/Ocean_Blue_Ozone_Colour_theme
I have added a new theme for Ozone (Ocean Blue)
2021-08-01 22:22:26 +02:00
Autechre b4ccf23701
Merge pull request #12708 from sonninnos/auto-mouse-grab
'Automatic Mouse Grab' option
2021-07-30 13:44:01 +02:00
sonninnos 149beaf061 'Automatic Mouse Grab' option 2021-07-29 02:16:43 +03:00
Autechre 910d729d50
Merge pull request #12661 from markwkidd/menu-input
consolidate menu_input.h declarations
2021-07-29 01:14:06 +02:00
twinaphex 09d496b534 Rewrite DISPLAYLIST_AUDIO_SETTINGS_LIST 2021-07-28 17:36:35 +02:00
Mark W. Kidd e3d2a9b614 Merge branch 'master' of http://github.com/markwkidd/retroarch into menu-input 2021-07-23 10:27:49 -04:00
jdgleaver 218286aa99 (RS90) Add optional approximate 'semi-linear' scaling filter 2021-07-21 14:11:42 +01:00
jdgleaver e306dd8eeb Automatically disable core info cache when core info directory is read-only 2021-07-19 16:39:18 +01:00
jdgleaver af88aaee77 (RGUI) Enable fullscreen thumbnail toggle using RetroPad 'start' button 2021-07-19 14:15:28 +01:00
Mark W. Kidd 64672b4b63 consolidate menu_input.h declarations 2021-07-15 14:19:38 -04:00
jdgleaver 21228cfbd4 (RS-90) Hide 'Bilinear Filtering' video option 2021-07-15 11:53:07 +01:00
Autechre 0ad936f600
Merge pull request #12651 from jdgleaver/rgui-sublabel-length-fix
(RGUI) Fix sublabel length when menu clock is disabled
2021-07-14 17:39:29 +02:00
jdgleaver 7439f4d6d0 (RS-90) Disable menu clock by default 2021-07-14 15:27:07 +01:00
jdgleaver 137f18bed1 (RGUI) Fix sublabel length when menu clock is disabled 2021-07-14 15:03:29 +01:00
John Parton f6aeb717ba Basic rs90 build
DINGUX_BETA has clock_gettime libogc
Add tinyalsa support to rs90
2021-07-13 11:36:48 -05:00
jdgleaver 7a3d78b1c0 (Menu+Widgets) Add workaround for FPU bug that breaks scale factor comparisons on certain platforms (fixes XMB thumbnails on 32bit Linux/Windows) 2021-07-12 12:14:55 +01:00
Autechre ed3412c004
Merge pull request #12618 from markwkidd/input-remapping
consolidate and comment input_remapping.h
2021-07-08 14:22:51 +02:00
Autechre 7d9d57dc50
Merge pull request #12564 from sonninnos/integer-overscale
Integer overscale option
2021-07-08 12:03:28 +02:00
Mark W. Kidd b17dd28ff2 consolidate and comment input_remapping.h 2021-07-06 16:13:43 -04:00
jdgleaver 0e654c8e9e Hide 'Add to Favorites' when viewing an entry of the favorites playlist 2021-07-02 16:29:11 +01:00
sonninnos b483f233d2 Integer overscale option 2021-06-24 00:56:52 +03:00
jdgleaver 3a82cf980d 'Analog to Digital Type' usability improvements 2021-06-23 14:28:45 +01:00
Autechre 10f42d7034
Merge pull request #12549 from sonninnos/xmb-opacity
(XMB) Icon opacity fix
2021-06-21 20:48:19 +02:00
sonninnos c802a549f6 (XMB) Icon opacity fix 2021-06-21 16:46:58 +03:00
Autechre 0a75b51b29
Merge pull request #12534 from jdgleaver/input-port-remapping
Add support for mapping multiple controllers to a single input device
2021-06-21 15:28:34 +02:00
jdgleaver 973f5cda6d Add support for mapping multiple controllers to a single input device 2021-06-21 12:42:38 +01:00
sonninnos 7695298dfc (XMB) Dynamic wallpaper improvement 2021-06-18 23:03:34 +03:00
Tony ff7982fbcd
(XMB) Dynamic wallpaper fix (#12531) 2021-06-18 18:00:37 +02:00
jdgleaver 642d6c9fb8
(Ozone) Ensure sidebar display status is updated correctly when performing rapid menu navigation (#12524) 2021-06-14 13:58:39 +02:00
jdgleaver 3c2e3f1ce9
Add enhanced search functionality to the 'Manage Cores' menu (#12516) 2021-06-11 21:17:32 +02: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
Michael Burgardt 4dcda032d0
Added list entry enumeration to XMB (#12427) 2021-06-10 16:02:19 +02:00
Tony 27cacffe54
Fix frame delay limit in conf read (#12507) 2021-06-09 06:32:01 +02:00
sonninnos b08169255d Extend frame delay range 2021-06-07 03:13:08 +03:00
Alcaro 8e06aa2417
Shut up a string truncation warning 2021-06-05 20:53:45 +02:00
Autechre e40f0d308b
Merge pull request #12488 from Jamiras/cheevos_challenge_indicators
(cheevos) challenge indicators
2021-06-05 16:02:38 +02:00
Autechre 2259e9b38e
Merge pull request #12403 from alphanu1/master
New Switchres (CRT Resolution switching) For Retroarch
2021-06-05 00:27:00 +02:00
Jamiras 3fe52bb7fb add toggle/setting for challenge indicators 2021-06-04 12:32:01 -06:00
Autechre fce9da5e76
Merge pull request #12445 from toshixm/CJK_folding_rev2
Improve message wrapping with CJK languages
2021-06-04 20:14:55 +02:00
Ben 4b2f27eff8 Ver 0.9.2 SR2 (Switchres API) Implimantation
Fixed SR close match refresh bug.
Added menu high resolution option.
Fixed desktop restore bug cuusing endless resolution change requests.
Fixed file conflicts
Added destop restore resolution back in for manu only.
Pulled Switchres fixes.
Added better PI rsolution support.

Ver 0.7 SR2 (Switchres API) Implimantation

Removed HH experimetal check. This is better done via teh switchres.ini at present.
Fixed refresh rate bug. Now new resolution and refesh is added correctly.
Removed SR deinit from menu restore. Meanu now stays at last content resolution.

Ver 0.6.2 SR2 (Switchres API) Implimantation

Fixed super resolution bug casuing abnormal video size and aspect ratio
Fixed logging issue casuing seg falts on RA exit

Ver 0.6 SR2 (Switchres API) Implimantation

Ver 0.2 SR2 (Switchres API) Implimantation

Added forced super resolutions.
Added Multi-monitor/monitor selection support.
Added desktop resolution restore when switching back to menu only.
Added new menu items for 31KHz standard and 120hz monitor profiles.
Added new menu item INI. load monitor profile from switchrss.ini.
Fixed winraw driver. Coordinates new refreshed after a resolution change.
Fixed Menu aspect ratio in super resolutions.
Removed static glabals. These have been added to videocrt_switch struct.

Ver 0.1 SR2 (Switchres API) Implimantation

Removed old CRTSwitchRes method. Added new SR2 API implimantaion.
Resolution swithcing is now done by switchres libs. Both Linux and Windows
working with native and super resolutions. Working multi-monitor support
with monitor index selection. Working 31KHz support with standard and 120Hxz
modes. The monitor index selection is still done via the RA UI. Only choose
native and 15KHz form the CRT options in the RA UI as all options are now set
in the switchres.ini. All other CRT optoins in the RA UI currently do nothing.

Added SR wrapper to fix compile issues. Added back RPi functionality

Fixed windows resize/scaling issues on resolution change

Thanks @Calamity no more need for crt_switch_driver_refresh()

Fix broken case after prevous commit

Monitor preset options 15/31KHz now active. Added new meu option.

Moitor persets can now be choosen fom the RA UI. 15KHz and 31KHz will set
arcade_15 and aracde_31 respectivly. New option INI, if this is chosen your
monitor preset will be selected from your switchres.ini file.

Added 3KHhz, 120Hz. for old RA users. Renamed 31KHz to 31 KHz,  Standard

Fixed winraw input coordinates after switching resolution.

Code cleanup

Fixed menu aspect ratio issue

Added menu resolution restore after closing content

Fixed aspect ratio after menu resolution restore.

code clean up

Fxed menu Resulition Restore Aspect Ratio. When SR uses non integer scalled resolution.

super width bug with restoring menu resolution fix

added super resolution check after setting desktop resolutoion variables

when menu active only sr_deinit() used to restore desktop mode.

Fixed menu sr_deinit bug. now setting sr_active false

Removed static globals, added them to video_switch struct

Fixex compile bug due to comment //

Fixed compile issues doe to c++ comments in teh switchres_wrapper.h

Temporarily removed SR2 logging to fix compile isses for c90

added logging back in. Removed support for winnt and osx

Added define for C89. Disabled SR if defined C89

Removed all RA compile fixes fro C89 C90 etc. Swithing now working again.

Put Switchres behind HAVE_SR2. HAVE_SR2=no by default. --enable-sr2

Ver 0.5 SR2 Implimentation.

Ver 0.4 SR2 Implimantation.

Bake SR inside RA

Removed temporary log files

Disable switchres when C89/C99 builds.

Removed C89 and C90 checks for SR

Fixed switchres_wrapper.h location

Ver 0.3 SR2 Implimenation

Dissable logging for C89 __STDC__

Fix For RPi

fixed missing EOL

fixed RPi function definition

added vidrocrt_switch stuct to RPI funcion

fixed xoffset for RPi

Removed old RPi function call

SR disabled for videocore until VC4 switching ported

Reverted back to state 5c8a56c Bake SR inside RA

Use native win32 api for threads.

Fix static lib linking
LIBERROR would be defined twice otherwise + improper function names prefixed by __imp_

Added lidstc++ to makefile.common for switchres

Fixed RPi switching. Disabled Switchres for videocore unill it is ported.

removed RAA.log. Should not exist

Added check for when SR fails to set mode with an aspect ratio fix.

added video driver re init for RPi

GB, GBA and GBC core check, adjusted reseolutions and scale. Please turn on integer scalling in the RA UI

Added logas back in. Checking STDC verstion >= C11

Fixed c89 for loop declaration.

Code clean up. Added new functions

Fix resolution switching bug introduces with HH code clean up.

Fixed menu restore bug on closw content after code clean up

Moved SR logging to relevant RA logs

Update makefile. Checks for X11 and xrandr

fixed makefile

Use native win32 api for threads.

Fix static lib linking
LIBERROR would be defined twice otherwise + improper function names prefixed by __imp_

Update switchres_wrapper.* header comments

Update year copyright

DRMKMS: build only if libdrm has the required version

XRANDR: build only if xrandr is available

Simplified maklefile

Fixed RPI compile error with unsued functions.

As before

Disable Griffin. No switching support available. Never has been

Removed log file 1

Added Win32 static define

Added SR source

Removed Videocore check on destroy SR

Moved SR deinit to trigger earlier on RA exit.

Fixed compile error after upstream rebase

Fixed aspect ration bug cused by super resolutions. Temporarily disbabled SR logging

Re inabled runtim eSR loggind. Disableed all RARCH logging on retro_deinit_drivers

Removed srdeinit from menu restore. Menu stays in current reolution until a fix can be found

Fixed refresh rate changes when no reolution change is detected.

Forgot to add teh resolution cahge in with the refresh change oops

Fixed endless no detection log.

Removed HH check. This can been better adjusted using the switchres.ini

fixed compile issue

Added better PI crt switching and fixed typo

Pulled Swicthres fixes. Updated desktop restore resolution.

removed unused makefile

Lockec menu refresh to 60hz

fixed missing new line

Fixed file conflicts

Forced 640x480@60 for menu

Added high resolution menu option

Removed item logg checker

Fixed typos

Removed unused functions

Fixed SR close match refesh bug.

Fixed typo
2021-06-04 08:32:56 -07:00
Autechre ec7e528094
Merge pull request #12466 from christianhaitian/master
Add nmcli to wifi drivers
2021-06-03 20:08:42 +02:00
toshixm 4fab84ca9e improve message wrapping with CJK languages 2021-06-03 21:09:35 +09:00
Jamiras ef9beea9f8 use info icon for headers; use server default image while downloading badges 2021-06-01 21:27:02 -06:00
Jamiras e76265e1aa group achievements by category 2021-06-01 15:23:18 -06:00
Christian_Haitian 74d9f976a8 Add wifi configuration menu
Enable with --enable-wifi during
configuration before make.
Credit to valadaa48 for the
code and configuration.
2021-05-31 02:20:34 +00:00
Autechre 0d7a028ce3
Merge pull request #12444 from Jamiras/info_crash 2021-05-28 08:50:21 +02:00
Jamiras 45c0dc4486 fix crash by restoring incorrectly eliminated line 2021-05-27 21:34:51 -06:00
jdgleaver 8e54b4cec9 (Show Inputs on Overlay) DISABLE_MENU=1 buildfix + Qt settings update 2021-05-26 18:15:23 +01:00
jdgleaver 466bd3be7f Add option to select between 'touched' elements and physical controller inputs when showing inputs on overlays 2021-05-25 18:01:52 +01:00
twinaphex fb8c73508b Apply diff patch taking care of issues 2021-05-24 18:40:40 +02:00
SecularSteve c424315510
Made the text, icons and borders darker, fixed the sidebar gradient. 2021-05-23 22:44:42 +02:00
Yoshi Sugawara 4dcbd3e383 [iOS/tvOS] Disable core info caching for iOS 2021-05-23 08:33:14 -10:00
SecularSteve d75e53a11a
Added new "Ocean Blue" theme for Ozone 2021-05-23 13:47:46 +02:00
twinaphex 9cd19d4944 Silence warning - ret was never used 2021-05-22 16:05:26 +02:00
twinaphex 57a728fd41 Rename audio_out_rate to audio_output_sample_rate 2021-05-21 22:36:46 +02:00
twinaphex f66d4ea33c Remove unused variables 2021-05-21 17:14:13 +02:00
SecularSteve b355217e6d
small fixes 2021-05-20 14:45:21 +02:00
SecularSteve 32f68e81d6
Added new "Ocean Blue" theme 2021-05-20 14:13:58 +02:00
SecularSteve 0bd49c59c6
Added new "Ocean Blue" theme 2021-05-20 14:11:00 +02:00
SecularSteve a1ff509276
Added new "Ocean Blue" theme (along with a small tutorial)
I also sorted all of floats of the other themes in order.
2021-05-20 14:10:13 +02:00
twinaphex 0482892a9c Get rid of return variable for snprintf 2021-05-18 23:09:45 +02:00
twinaphex e08290acb0 Less strlcpy/strlcat concatenation of strings 2021-05-18 21:06:29 +02:00
twinaphex e34c84d791 Use snprintf in more situations 2021-05-18 20:19:19 +02:00
twinaphex 2e4b734159 Cleanups - replace several messy strlcpy/strlcats with one single
snprintf
2021-05-18 20:09:48 +02:00
twinaphex fc2a011a5c Use single snprintf call where possible instead of multiple
strlcpy/strlcat calls
2021-05-18 19:36:20 +02:00
twinaphex 7bbdd6d18a Prefer using snprintf instead of insecure sprintf 2021-05-18 15:14:08 +02:00
Michael Burgardt d50be7a0ab Added simple playlist entry enumeration to ozone; added toggle option by jdgleaver 2021-05-17 18:49:25 +02:00
jdgleaver be84700d0a (XMB) Fix display of 'Maximum Users' menu entry dropdown list 2021-05-17 14:41:57 +01:00
jdgleaver 358cafa978 (RGUI) Fix saving of config files/overrides when 'Lock Menu Aspect Ratio' is enabled 2021-05-14 10:50:18 +01:00
jdgleaver 6f471e0660 Fix content loading via file browser on platforms with 'broken' core handling (i.e. emscripten) 2021-05-13 15:32:25 +01:00
Autechre 667568b0b8
Merge pull request #12386 from Ryunam/ozone-themes-id
Updates to Ozone (follow-up to #12382)
2021-05-12 16:02:07 +02:00
Ryunam a16aba2138 Updates to Ozone 2021-05-12 15:28:26 +02:00
jdgleaver 50d27fada9 (Static Platforms) Ensure 'Always Reload Core on Run Content' setting is applied when loading content via the file browser 2021-05-12 10:59:07 +01:00
Autechre a6d92de0b2
Merge pull request #12382 from Ryunam/ozone-themes-id
Minor updates to Ozone themes code
2021-05-12 09:18:02 +02:00
Autechre 89391ccf9a
Merge pull request #12287 from LazyFunker/master
Some fixes for UWP/XBox
2021-05-12 09:17:53 +02:00
David Guillen Fandos 9280340fe0 CPU governor/frequency part 2
This adds managed policies and settings to store them and reload them at
startup. Only for Lakka builds!
2021-05-12 02:16:25 +02:00
Ryunam 85466225de Minor updates to Ozone themes code 2021-05-11 19:35:38 +02:00
GavinDarkglider f24f827c4c
Updates For Lakka Switch build. (#12369) 2021-05-07 20:58:30 +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 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
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
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 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
jdgleaver f4511f6fa4 (core_info) Performance optimisations + code clean-ups/refactors 2021-04-26 14:30:31 +01:00
Autechre d24f808d79
Merge pull request #12294 from ToKe79/lakka_timezone
Lakka: add menu for time zone setting
2021-04-22 18:38:19 +02:00
jdgleaver 80753ac741 Add search filter support to cheats and overlays file browser menus 2021-04-22 16:56:57 +01:00
jdgleaver fc283123bb (RGUI) Fix display of 'Video > Scaling' menu when 'Lock Menu Aspect Ratio' is enabled 2021-04-22 15:55:59 +01:00
Tomáš Kelemen (vudiq) 90529c62b2 Lakka: add menu for time zone setting
This adds new entry under Settings -> Services (where all Lakka related
services are currently available, such as switches for services like
SSH, Samba, etc.). By adding this the users do not have to use the
command line / access the file system directly to change their local
time zone to adjust the date/time displayed in RetroArch.
2021-04-21 18:12:42 +02:00
Autechre 36d274d460
Merge pull request #12288 from ToKe79/lakka-change-handlers-squash-warnings
Make Lakka change handlers use the setting pointer
2021-04-20 20:31:15 +02:00
twinaphex 0cc5b29558 Use path_basename for instances where we don't have to deal
with compressed files in archives
2021-04-20 19:14:47 +02:00
Tomáš Kelemen (vudiq) 191171802b Make Lakka change handlers use the setting pointer
These change handler functions had incorrect parameter (void *) instead
of (rarch_setting_t *) and were also spawning new local pointer to the
settings and other local variables, which was not necessary, as one can
use the value from the call (setting->target.value.boolean in these
cases).

I have also modified the systemd_sevice_toggle function. Before it
looked like it was creating / deleting the file in both child and parent
processes and started / stopped the systemd service in the child
process. Now both actions (creation / deletion of file and start / stop
of service) are done in the child process.

Below are the compiler warnings about incompatible pointer types:

```
menu/menu_setting.c: In function ‘setting_append_list’:
menu/menu_setting.c:18520:58: warning: assignment to ‘change_handler_t’ {aka ‘void (*)(struct rarch_setting *)’} from incompatible pointer type ‘void (*)(void *)’ [-Wincompatible-pointer-types]
18520 |             (*list)[list_info->index - 1].change_handler = ssh_enable_toggle_change_handler;
      |                                                          ^
menu/menu_setting.c:18536:58: warning: assignment to ‘change_handler_t’ {aka ‘void (*)(struct rarch_setting *)’} from incompatible pointer type ‘void (*)(void *)’ [-Wincompatible-pointer-types]
18536 |             (*list)[list_info->index - 1].change_handler = samba_enable_toggle_change_handler;
      |                                                          ^
menu/menu_setting.c:18552:58: warning: assignment to ‘change_handler_t’ {aka ‘void (*)(struct rarch_setting *)’} from incompatible pointer type ‘void (*)(void *)’ [-Wincompatible-pointer-types]
18552 |             (*list)[list_info->index - 1].change_handler = bluetooth_enable_toggle_change_handler;
      |                                                          ^
menu/menu_setting.c:18568:58: warning: assignment to ‘change_handler_t’ {aka ‘void (*)(struct rarch_setting *)’} from incompatible pointer type ‘void (*)(void *)’ [-Wincompatible-pointer-types]
18568 |             (*list)[list_info->index - 1].change_handler = localap_enable_toggle_change_handler;
      |                                                          ^
```
2021-04-20 19:14:10 +02:00
jdgleaver b193fd0ba9 Enhanced 'Load Content' file browser search functionality 2021-04-20 15:49:22 +01:00
LazyFunker c5e5cf28af Force resolution on UWP 2021-04-20 11:47:32 +02:00
Autechre a56fcfb24a
Revert "Screen Resolution option fixes" 2021-04-17 19:33:23 +02:00
jdgleaver 54c45bd54e (RGUI) Add option to disable menu transparency 2021-04-15 12:32:39 +01:00
digitalisland-nino 6f29c1ff94 Created new Ozone Dracula color theme.
Copied RGUI Dracula theme localized strings to new Ozone Dracula theme.

Copied RGUI Dracula theme localized strings to new Ozone Dracula theme.

Added Ozone Dracula color theme to UI.

Added Ozone Dracula color theme entry.
2021-04-14 22:18:18 +02:00
twinaphex 5ae5463f52 (menu_setting.c) Cleanups 2021-04-14 02:26:20 +02:00
twinaphex 9a994eb777 Split up general_write_handler/general_read_handler some more 2021-04-14 01:55:38 +02:00
twinaphex bdfbc86ecb Simplifications in general_write_handler 2021-04-14 01:22:49 +02:00
jdgleaver a6cffc0e29 (XMB/GLUI/Ozone) Add optional menu screensaver animations 2021-04-13 15:36:57 +01: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 1392eebfa0 Use path_basename_nocompression some more 2021-04-11 17:48:44 +02:00
twinaphex 544a17926b Use path_basename_nocompression where we are sure we are not
dealing with a filename with a compressed archive hash
2021-04-11 17:44:41 +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
twinaphex 9f6a5e35de Get rid of more duplicate pointer grabbing 2021-04-08 02:02:30 +02:00
twinaphex fb1258b817 Set anim.update_timecb to NULL immediately after menu driver's 'free'
function has been called
2021-04-08 01:37:47 +02:00
twinaphex 5334ddd199 Don't call anim_get_ptr inside gfx_thumbnail.c 2021-04-08 01:30:42 +02:00
twinaphex 2e6393f082 Get rid of pointer grabbing for p_disp 2021-04-08 00:38:24 +02:00
jdgleaver c23e32a047 OpenDingux Beta: Add 50Hz support 2021-04-07 10:06:11 +01:00
Jonathan 5c6cd1b48a
Add scaling to pointer input (#12213)
So far, if display is scaled, overlays gets correctly drawn but touch
input is not correctly scaled, resulting in an unusable overlay.

This happens for touches in menu too.

This commit aims to introduce this scaling factor adding it to the
config file, eg:

input_touch_scale = "2"
2021-04-06 13:15:43 +02:00
twinaphex 0fc6116082 Some optimizations to menu_cbs_get_value callbacks 2021-04-05 21:17:54 +02:00
twinaphex a989cfb987 Fix compilation error for older MSVC versions - cannot handle two ';'
one after another
2021-04-05 15:57:05 +02:00
twinaphex 5a0c0a26e3 Get rid of more disp_get_ptr calls 2021-04-05 15:22:45 +02:00
twinaphex af00dca08b Get rid of some pointer grabbing for disp_get_ptr by making it
a part of video_frame_info
2021-04-05 14:55:28 +02:00
jdgleaver 72f08bb1b4 (RGUI) Fix LGTM warning - 'Multiplication result converted to larger type' 2021-04-02 10:16:47 +01:00
jdgleaver 371d0b7395 Add optional menu screensaver 2021-04-01 17:26:43 +01:00
Autechre e3ee0ac22b
Merge pull request #12206 from jdgleaver/max-user-reinit
Ensure that 'retro_set_controller_port_device' is called when updating 'Max Users'
2021-03-30 08:36:07 +02:00
jdgleaver 6d13ace83a (GLUI) Add icon to 'Turbo Fire' menu entry 2021-03-29 15:50:32 +01:00
jdgleaver 32bdb49496 Ensure that 'retro_set_controller_port_device' is called when updating 'Max Users' 2021-03-29 15:32:29 +01:00
Autechre ba7900a3fb
Merge pull request #12173 from crystalct/master
Some PSL1GHT fixes
2021-03-29 09:26:24 +02:00
CrystalCT b9ff6cb1d9 Some PSL1GHT fixes 2021-03-29 09:01:03 +02:00
sonninnos 1c63dec47e Relocate 'Menu Scroll' settings 2021-03-26 21:01:18 +02:00
Autechre bbcf1c8881
Merge pull request #12194 from sonninnos/scroll-delay
Customizable menu scroll hold delay
2021-03-26 03:49:48 +01:00
sonninnos 23d558564f Customizable menu scroll hold delay 2021-03-26 04:23:52 +02:00
sonninnos 7754a20fc5 Dropdown menus for Custom Aspect Ratio positions 2021-03-26 04:13:22 +02:00
sonninnos 9062b61511 Separate 'Turbo Fire' menu 2021-03-25 22:28:18 +02:00
twinaphex cd9d6c0511 gfx_display - Get rid of lots of pointer grabbing 2021-03-25 20:12:34 +01:00
twinaphex 8064af8f15 Get rid of more pointer grabbing 2021-03-25 19:22:12 +01:00
twinaphex d9fa5585a0 Silence static code analysis warings pointed out by cppcheck 2021-03-24 02:23:58 +01:00
twinaphex 8f79e14d0a Silence LGTM static code analysis warnings 2021-03-24 00:25:47 +01:00
twinaphex 943c3f2f21 One DISABLE_MENU buildfix 2021-03-23 13:35:41 +01:00
twinaphex 00f60ec577 Remove unused variable 2021-03-22 10:01:09 +01:00
twinaphex 1f4dd522ab (RGUI) Cut down on gfx_display_get_fb_size 2021-03-22 01:58:43 +01:00
twinaphex 4cf83880a6 (macOS AArch64/iOS ARM64) Fix crash when selecting cursor 2021-03-22 01:17:09 +01:00
twinaphex e5ca68a518 Simplify video_driver_get_ptr 2021-03-21 17:33:44 +01:00
twinaphex 8b2eb8ed37 Cut down on config_get_ptr calls in menu_displaylist_ctl 2021-03-21 16:36:36 +01:00
twinaphex d8d034bacb (menu_displaylist_build_list) Pass settings pointer around 2021-03-21 16:16:41 +01:00
twinaphex 7c145fafb2 (menu_displaylist) config_get_ptr only called now from three public functions 2021-03-21 16:04:04 +01:00
twinaphex 78e9a16493 Cut down on disp_get_ptr calls 2021-03-21 15:37:40 +01:00
twinaphex 5547f7b6f8 Further simplify filebrowser_parse - info can never be NULL -
other optimizations
2021-03-21 14:49:51 +01:00
twinaphex 6682dff9a5 (Menu) simplify/cleanup filebrowser_parse 2021-03-21 14:34:36 +01:00
twinaphex e35ed84de9 (Menu) Cut down on config_get_ptr calls 2021-03-21 11:46:27 +01:00
twinaphex c053a871d0 Cut down on anim_get_ptr calls 2021-03-21 11:09:22 +01:00
twinaphex a19c61ec7f (Ozone) Cut down on pointer grabbing - reduce calls to disp_get_ptr
and anim_get_ptr
2021-03-21 11:03:38 +01:00
twinaphex a0a681b324 (Menu drivers) Less pointer grabbing - cut down on get_ptr calls 2021-03-20 17:45:05 +01:00
twinaphex 94ae0460cc Cut down on calls to gfx_display_get_fb_size 2021-03-20 16:52:53 +01:00
sonninnos 39e24fe584 New bind order scan/clear fix 2021-03-20 04:46:54 +02:00
twinaphex 5554e5a842 Small cleanups 2021-03-18 12:51:17 +01:00
twinaphex ce5dd864f0 Fix C89 build failures 2021-03-16 13:11:14 +01:00
twinaphex 3fc8f8129f Fix build failure 2021-03-16 13:05:45 +01:00
Autechre 70d79eb01c
Merge pull request #12156 from sonninnos/bind-reorder
Cosmetic input bind order
2021-03-16 12:43:02 +01:00
jdgleaver 523e37ec95 Prevent segfault when accessing 'Explore' menu 2021-03-16 11:30:05 +00:00
Autechre ad13be13cd
Merge pull request #12162 from jdgleaver/glui-fix
GLUI: Fix main menu 'History' entry
2021-03-16 12:27:46 +01:00
jdgleaver d678fbd7b3 (Ozone) Ensure all members are initialised when allocating nodes 2021-03-16 10:14:52 +00:00
jdgleaver 235967c606 GLUI: Fix main menu 'History' entry 2021-03-16 10:10:37 +00: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
sonninnos e89cd8bc0b Cosmetic input bind order 2021-03-16 02:46:41 +02:00
twinaphex 40fe0796b4 Add 'Menu Driver' setting to 'User Interface' 2021-03-15 12:53:48 +01:00
Autechre fbaec27e8e
Merge pull request #12154 from crystalct/master
Add some PSL1GHT ifdefs
2021-03-15 12:47:01 +01:00
CrystalCT f19a67cad6 Add some PSL1GHT ifdefs 2021-03-15 11:37:59 +01:00
twinaphex b8c51ed040 Remove unused variables 2021-03-15 09:32:47 +01:00
twinaphex d9e8d44393 menu_displaylist_parse_settings_enum - cleanups 2021-03-15 07:22:23 +01:00
twinaphex 40ef5f7e65 Prevent calls to menu_driver_navigation_set inside menu drivers -
can just call the accompanied function internally
2021-03-15 06:56:55 +01:00
twinaphex 6687920c1d Get rid of some typedefs 2021-03-15 06:37:21 +01:00
twinaphex 4e883c4568 Refactor menu_displaylist_setting away 2021-03-15 06:11:57 +01:00
Autechre 60d29d3792
Merge pull request #12150 from crystalct/master
Add some PSL1GHT ifdefs
2021-03-15 00:46:57 +01:00
unknown 575e2dcff6 Add some PSL1GHT ifdefs 2021-03-14 21:00:08 +01: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 4946d75c3d Further cleanups to do with menu_dialog code 2021-03-12 11:03:57 +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
twinaphex 4dc70a6e9c Remove unused menu_ctx_iterate_t 2021-03-11 20:19:37 +01:00
twinaphex 14248f7401 (Menu) Iterate function callback was never used, remove it
- Also turn menu_driver_iterate into static function and
redesign code a bit; non-functional
2021-03-11 20:17:22 +01:00
twinaphex a6c11b5ed3 rgui_render - call menu_entries_get_size later in function
ozone_draw_entries - MENU_ENTRIES_CTL_START_GET was unnecessary to call
2021-03-11 19:48:56 +01:00
twinaphex e72cdd78d6 menu_displaylist.c is never built into Salamander, so these ifdefs
can go
2021-03-11 19:17:06 +01:00
twinaphex 4d93ac3870 Get rid of menu_setting_ctl 2021-03-11 08:38:53 +01:00
twinaphex ba7771fd28 MENU_NAVIGATION_CTL_{INCREMENT/DECREMENT/ASCEND_ALPHABET/DESCEND_ALPHABET'
can all be removed now and inlined
2021-03-11 06:23:29 +01:00
twinaphex 95d3b7285d MOve functions over to retroarch.c 2021-03-11 04:13:06 +01:00
twinaphex e5045fa2e2 Simplify menu_driver_deferred_push_content_list 2021-03-11 03:49:51 +01:00
twinaphex 839a270a97 Menu refactors:
- Get rid of menu_driver_search_list_clear
- Get rid of contentlist_switch callback - was only ever one
function callback implementation
2021-03-11 03:37:19 +01:00
twinaphex f502cd9e16 Get rid of menu_cbs_down/menu_cbs_up 2021-03-11 03:14:31 +01:00
Autechre 9f3ea51f77
Refactors pt4 (#12126)
* Cleanups:
- menu_driver_set_id - don't pass p_rarch to function
- Ozone: call ozone_list_cache directly instead of going through
wrapper function in retroarch.c that then calls ozone_list_cache
- Some other cleanups, non-functional

* (Menu) Replace calls to menu_driver_list_cache inside retroarch.c
2021-03-11 02:58:35 +01:00
Autechre a2ed065f25
Refactors pt3 (#12124)
* Remove video_pixel_get_alignment - move it to video
drivers that use it

* Rewrite video_driver_pixel_converter_{init/free} - get rid of
p_rarch dependency

* Replace some variables

* (Menu) Get rid of cbs_refresh - was never set to any other
function callback implementation
2021-03-11 02:03:37 +01:00
twinaphex 3b59939dea (Menu) Implement as macro invocation 2021-03-10 09:41:49 +01:00
twinaphex 44c69561b7 Get rid of GENERIC_DEFERRED_PUSH_CLEAR_GENERAL - do
MENU_ENTRIES_CTL_CLEAR inside menu_displaylist_ctl instead
2021-03-10 09:41:49 +01:00
twinaphex a2031608e7 Don't use file_list_get_at_offset - access members directly 2021-03-10 09:41:49 +01:00
twinaphex 003fc7ccc8 Get rid of menu_entries_get_at_offset 2021-03-10 05:49:58 +01:00
twinaphex bbe46333e1 Cut down on menu_input_dialog_get_display_kb calls 2021-03-10 05:49:58 +01:00
twinaphex 73116f9af3 (ozone_entries.c) ozone_draw_entry_value - small cleanup 2021-03-08 15:54:53 +01:00
twinaphex 047b24cfbf (ozone_display) Don't set variable to itself 2021-03-08 15:47:03 +01:00
twinaphex db314cf5df file_list_set_userdata / file_list_set_actiondata are trivial one-line
functions - just set it directly
2021-03-07 19:30:04 +01:00
twinaphex d6e897ca2c Get rid of menu_entries_set_checked 2021-03-07 06:52:35 +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
Job Adrian Salinas Gonzalez de4138b45c
[RGUI] Added 5:3 and 5:3 (centered) options for changing rgui aspect ratio (#12072)
* Added 5:3 and 5:3 (centered) options for changing rgui aspect ratio

* Fixed option label
2021-02-24 03:58:48 +01:00
twinaphex 1a9f1f6b33 gfx_display_init_first_driver was called twice, once invoked by
drivers_init, after that invoked by each menu driver's init function.
Taking the extra function call out of the menu driver's init function
2021-02-22 06:38:55 +01:00
twinaphex de29587f25 ozone_auto_select_onscreen_entry - calling menu_navigation_get_selection
here is useless since it will be overridden immediately afterwards
2021-02-20 21:58:51 +01:00
sonninnos 6de0af0c78 Add remap clearing ability under Quick Menu controls 2021-02-20 19:35:42 +02: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
twinaphex aba9479ed0 Simplify code; silence warnings 2021-02-09 15:41:26 +01:00
twinaphex 561d2744f0 Silence some warnings 2021-02-09 15:35:25 +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 dd2308b44c
Merge pull request #11998 from sonninnos/mouse-index
Reorder Mouse Index next to Device Index
2021-02-06 22:10:49 +01:00
sonninnos 7fb25b6b6e Missing Input menu dropdown 2021-02-06 23:04:39 +02:00
sonninnos c89f1feb44 Reorder Mouse Index next to Device Index 2021-02-06 22:41:02 +02:00
Autechre fa9b615ce8
Merge pull request #11993 from sonninnos/mouse-index-dropdown
Submenu for Mouse Index
2021-02-06 20:49:38 +01:00
sonninnos cd77db37df (XMB+OZONE) Proper control port icons 2021-02-06 03:13:03 +02:00
sonninnos 40b0001fb5 Submenu for Mouse Index 2021-02-06 01:59:54 +02: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
Tony c360f9126d
Add reinit to menubar setting (#11976) 2021-02-04 07:11:24 +01:00
twinaphex 5187957b3d Silence some implicit conversion warnings 2021-02-03 12:34:10 +01:00
twinaphex 4df6d287e3 (Clang) Silence 'n' is never used warnings 2021-02-03 11:48:33 +01:00
twinaphex 542162c17b Silence some warnings 2021-02-03 10:39:29 +01:00
twinaphex c40943374b Fix C89_BUILD 2021-02-03 10:11:33 +01:00
sonninnos d44c8ef1d3 Input port label adjustments 2021-02-02 21:33:49 +02: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
Autechre 80147e3cfe
Merge pull request #11961 from sonninnos/input-title-prefix
Remove empty prefix from input titles
2021-02-01 18:33:15 +01:00
jdgleaver 01265c1b08 (XMB) Fix stack-buffer-overflow due to incorrect data type being passed by reference 2021-02-01 16:43:44 +00:00
sonninnos 48eb3f5d53 Remove empty prefix from input titles 2021-02-01 16:55:35 +02:00
sonninnos d78f321d33 Prevent duplicate key events with hotkeys + keyboard device type 2021-01-30 11:41:44 +02:00
jdgleaver b9691597d1
Add 'L2 + R2' menu toggle gamepad combo (#11935) 2021-01-24 16:33:13 +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 a772eb550d file_list_get_size - list can be NULL, in which case return 0 2021-01-21 00:24:32 +01:00
twinaphex cf01c66d6e Don't include these when HAVE_CHEEVOS is not defined 2021-01-20 09:07:16 +01:00
twinaphex bfd0611815 Avoid small wrapper functions like file_list_get_userdata_at_offset
in hot functions
2021-01-20 09:04:08 +01:00
twinaphex c7e8d2adf5 Silence warnings for some console platforms 2021-01-20 08:53:45 +01:00
twinaphex 7867c4b70e Get rid of file_list_get_size calls - one line wrapper function 2021-01-20 08:31:05 +01:00
twinaphex 9a4472266f Try to avoid hot function file_list_get_userdata_at_offset 2021-01-19 07:52:13 +01:00
twinaphex 6e2a1895f6 Simplify code 2021-01-16 21:10:49 +01:00
twinaphex 41a8661bdf Silence more implicit conversions 2021-01-16 21:03:57 +01:00
twinaphex dff8fbf879 Silence some implicit conversion warnings 2021-01-16 20:47:07 +01:00
twinaphex 1b071f16f5 Silence implicit conversion warnings 2021-01-16 20:03:04 +01:00
twinaphex bc48080ee5 Remove unused variable 2021-01-16 17:05:28 +01:00
jdgleaver b1ee5a2421 (X11) Fix mouse input when mouse is grabbed 2021-01-16 13:57:25 +00:00
Autechre cb087656dd
Merge pull request #11870 from jdgleaver/rgui-rus
(RGUI) Add Russian language support
2021-01-13 16:36:24 +01:00
jdgleaver 1c591be8f1 Add option to automatically enable 'game focus' mode when running/resuming content 2021-01-13 15:00:36 +00:00
jdgleaver 3a6558c2f1 (RGUI) Add Russian language support 2021-01-13 10:00:51 +00:00
Ryunam c341aabdb4 Add option to show/hide Refresh Rate notification 2021-01-08 17:32:33 +01:00
Autechre f40644c901
Merge pull request #11782 from crystalct/master
Avoid crashes when a not implemented Pipeline is chosen in old platfo…
2021-01-07 09:37:57 +01:00
OsirizX b96a0c495a [VITA] Add support for Vita GLES2 (PIGLET) 2021-01-06 19:14:30 +01:00
MrHuu c4db0fa439 (3DS) Rework buildbot url 2021-01-04 03:31:24 +01:00
SimpleTease 42d8e93171
(Windows) MSVC Buildfix 2021-01-03 04:57:05 +00:00
Autechre 598d27dcfe
Merge pull request #11807 from schellingb/rhmap2
Add 32-bit key hash map rhmap
2021-01-02 17:05:34 +01:00
Bernhard Schelling 9bea4831d7 Add 32-bit key hash map rhmap
Based on ex_hashmap32 in menu_explore.c, modify that to use the new rhmap
2021-01-03 00:52:25 +09:00
MrHuu fa8c7b4d3e (3DS) Server url reset default 2021-01-02 15:31:18 +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
MrHuu 2229657b12 (3DS) Enable core updater 2020-12-30 19:11:48 +01:00
MrHuu 25dd77a0f5 (3DS) Enable online updater
- set directory defaults
2020-12-29 17:44:59 +01:00
unknown ddcd4c6a1f Avoid crashes when a not implemented Pipeline is chosen in old platformse 2020-12-29 14:06:18 +01:00
Autechre 1681872763
Merge pull request #11772 from fpscan/facebook-gaming
Facebook Gaming stream option
2020-12-28 21:04:09 +01:00
Ömercan Kömür 9fceafdcc0 fb-fix 2020-12-28 16:20:40 +03: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 e35354d60c Fix comma at end of enumerator list 2020-12-23 12:53:36 +01: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
Autechre 12dc69c501
Merge pull request #11666 from gouchi/finnish
intl: Add Finnish language
2020-12-12 21:45:06 +01:00
Autechre 4c98be1aa8
Merge pull request #11677 from jdgleaver/rgui-cjk
(RGUI) Add support for CJK fonts
2020-12-10 23:47:24 +01:00
David Guillen Fandos 8b88f705b8 Fix minor issues and a memleak 2020-12-10 19:24:34 +01:00
jdgleaver 0f0ccbadc0 (RGUI) Add support for CJK fonts 2020-12-10 15:17:26 +00:00
twinaphex a1b389565c Silence warnings on Dingux 2020-12-09 22:18:26 +01: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
Tony Jansson 75baed785e (DINPUT+WINRAW) Option for disabling Windows hotkeys 2020-12-09 00:03:40 +02:00
gouchi a7bdabd133 intl: Add Finnish language 2020-12-05 22:10:29 +01:00
David Guillen Fandos 091f6e6354 Improving Wifi API and connman implementation
This sets the ground for more PRs to come. Clean up how scanning and listing
SSID works, and adds attributes to the newtworks.
Frontend will be able to know which networks are "remembered" and thus
require no password to re-connect.

For now scans are performed every 2 minutes or on demand if no networks found
(either for real or in the "cache").
2020-12-04 02:18:03 +01:00
David Guillen Fandos a442696b71 First attempt at adding proper brightness
Supports Switch and OGA
2020-11-26 19:22:05 +01:00
David Guillen Fandos f5693f15e7 Make get_lakka_version available in all builds
This simplifies a bit the code, for some new lakka patches to come.
2020-11-23 18:44:24 +01:00
David Guillen Fandos 1c5099051c Adding savestate garbage collector for autoincrement stavestates
As some issues indicate (#6195 #10471 #11008 #6861) there's an issue with
the autoincrement save slot feature: slot index will increase and very old
saves won't be deleted.

This commit adds support to delete old save states with a user defined
save state limit (global). Instead of wrapping around the slot counter
it will simply delete the oldest save, since it is simpler.

For now there's a limit of one deletion per save, which ensures a user
cannot delete many saves by accident if they set the limit too low.
2020-11-22 13:26:23 +01:00
Autechre 380e878c66
Merge pull request #11552 from sonninnos/turbo-single-hold
Add hold mode for turbo fire 'Single Button'
2020-11-19 07:21:03 +01:00
jdgleaver de146545af OpenDingux: Optimise rumble interface 2020-11-18 17:21:38 +00:00
jdgleaver e582cf9f1d OpenDingux: Add rumble support 2020-11-17 16:13:37 +00:00
Tony Jansson 278ddc64ed Add hold mode for turbo fire 'Single Button' 2020-11-13 15:44:32 +02:00
Autechre f502abf166
Merge pull request #11550 from sonninnos/turbomode-fix
Refresh turbo button selection in 'Single Button'
2020-11-12 01:51:31 +01:00
Tony Jansson e5c6032d37 Refresh turbo button selection in 'Single Mode' 2020-11-11 15:08:09 +02:00
HyperspaceMadness 5008ac6eb0
Merge branch 'master' into Shader_Save_Load 2020-11-10 17:05:23 -05:00
Ryunam f3aaf24219 Add Run-Ahead Toggle hotkey with notifications 2020-11-06 21:39:11 +01:00
HyperspaceMadness f6e35420bc Simple Shader Save Cleanup 2020-11-02 21:07:20 -05:00
HyperspaceMadness 70bf90c5d8 Shader_Preset_Simple_Save_Cleaned_2020_11_01 2020-11-01 09:18:40 -05:00
Tony Jansson 52c4062750 Reorganize User Interface menu 2020-10-23 18:55:32 +03:00
twinaphex 079919b88f Add more conditionals 2020-10-23 04:48:15 +02:00
jdgleaver 3df204d506 Cap 'State Slot' drop-down list to a maximum of 1000 (+Auto) entries 2020-10-21 11:32:33 +01:00
Tony Jansson 46d516f066 Add option for quitting on close content 2020-10-20 21:45:03 +03:00
jdgleaver a02fadeb94 Add 'Remove DSP Plugin' menu entry 2020-10-19 11:33:15 +01:00
jdgleaver 4e2696e12d Hide 'Auto-Shader Delay' menu setting when shaders are unavailable 2020-10-19 10:19:50 +01:00
Tony Jansson 39b194d306 Clean vs reset configuration matching redux 2020-10-17 22:15:49 +03:00
Autechre 4fd92ec667
Revert "Clean vs reset configuration matching" 2020-10-17 19:02:28 +02:00
twinaphex 2f5ae397c2 Revert "Add HAVE_XMB ifdefs"
This reverts commit 9aa395ecce.
2020-10-17 19:00:58 +02:00
twinaphex f42bcf978c Revert "Add HAVE_XMB ifdefs here"
This reverts commit 0dfbf669df.
2020-10-17 19:00:48 +02:00
twinaphex 0dfbf669df Add HAVE_XMB ifdefs here 2020-10-17 18:50:00 +02:00
twinaphex 9aa395ecce Add HAVE_XMB ifdefs 2020-10-17 18:40:32 +02:00
twinaphex 549b72c7c8 Attempt to fix builds for 3DS 2020-10-17 12:42:44 +02:00
Tony Jansson 1825f52353 Clean vs reset configuration matching 2020-10-17 00:09:06 +03:00
Tony Jansson 9902ad0b49 Add remaining settings menu visibilities 2020-10-16 01:57:34 +03:00
twinaphex b1967d649c Cleanup 2020-10-16 00:34:35 +02:00
twinaphex 5f8c270d4c Make update_time_callback a part of the animation struct 2020-10-15 08:35:37 +02:00
twinaphex e3972aff31 Turn variable const 2020-10-15 06:12:26 +02:00
twinaphex 44b7234756 Move cheat_manager and state_manager to root folder 2020-10-15 05:29:20 +02:00
twinaphex 379bd80cda Get rid of gfx_animation_ctl 2020-10-14 04:40:20 +02:00
twinaphex 7c48e77bcd Get rid of getter functions 2020-10-14 02:33:15 +02:00
twinaphex ac03578617 Remove some getter functions 2020-10-14 02:24:18 +02:00
twinaphex a6eaac2a84 Get rid of some static code analysis warnings 2020-10-12 00:00:54 +02:00
Autechre 38ccca18f4
Merge pull request #11429 from natinusala/ozone-wiggle-wraparound
ozone: implement wiggling for main menu when wrap-around is disabled
2020-10-10 19:02:45 +02:00
twinaphex 12c1677697 Small cleanup 2020-10-10 17:27:39 +02:00
natinusala 6619760e6f ozone: implement wiggling for main menu when wrap-around is disabled 2020-10-10 16:20:46 +02:00
twinaphex f38db9e77c Header include cleanups 2020-10-09 20:23:13 +02:00
twinaphex 8ea147c081 Turn these all static const 2020-10-09 20:18:33 +02:00
twinaphex 9ff25e1fa2 Add warning 2020-10-08 18:21:10 +02:00
twinaphex 2e94f3d5d7 move ozone_pure_white to ozone userdata 2020-10-08 18:19:50 +02:00
Autechre 8a1711dd28
Merge pull request #11419 from whorsemaster/twilight_zone_ozone
(ozone) New Theme - Twilight Zone
2020-10-08 18:04:02 +02:00
Jamiras 15af1aece5 add sublabel and icon to achievement entry of quick menu 2020-10-07 14:35:35 -06:00
whorsemaster deb13fcc4d (ozone) New Theme - Twilight Zone
new ozone theme
2020-10-05 18:17:27 -05:00
jdgleaver 80f1da2fb1 OpenDingux: Enable selection of image interpolation method when using 'sdl_dingux' gfx driver 2020-10-05 14:34:21 +01:00
jdgleaver 0207fbf7b5 Explore Menu: Fix heap buffer overflow on initialisation 2020-10-05 10:15:54 +01:00
natinusala 6d1660fcbd ozone: add cursor wiggle animation 2020-10-04 19:08:42 +02:00
twinaphex 20371e5102 (gfx_thumbnail) get rid of small getters 2020-10-02 21:59:02 +02:00
twinaphex 5aa675e059 Cleanups 2020-10-02 21:39:46 +02:00
jdgleaver bbba80f01e OpenDingux: Enable integer scaling when using the 'sdl_dingux' gfx driver 2020-10-02 16:38:42 +01:00
twinaphex 99c239bcee (Ozone) Don't call set_alpha if alpha value is the same as last time 2020-10-02 14:38:05 +02:00
twinaphex 902647c6fe (XMB) Cleanups 2020-10-01 19:12:26 +02:00
jdgleaver a04d5c3772 Fix typo in menu_cbs_ok.c 2020-10-01 17:37:04 +01:00
twinaphex cecd48e6b5 gfx_display_draw_cursor - take out early return 2020-10-01 18:22:29 +02:00
jdgleaver 3bd66cc14d OpenDingux port improvements: Phase 1 2020-10-01 15:56:14 +01:00
twinaphex 6ff934bf94 Buildfix 2020-09-28 05:07:18 +02:00
twinaphex 1e61480e0a Get rid of get/set_header_height 2020-09-28 05:06:02 +02:00
twinaphex 2ca6737ec3 (XMB) doesn't use header height 2020-09-28 04:58:34 +02:00
twinaphex 03ff504aa8 Remove gfx_display_scissor_end 2020-09-28 04:04:16 +02:00
twinaphex d44ab6facf framebuffer_dirty functions - remove these and set member variables
directly in rgui.c and retroarch.c
2020-09-28 03:49:13 +02:00
twinaphex 2e5bfd74ec Optimize explore_check_company_suffix 2020-09-27 23:56:15 +02:00
twinaphex e159ba1542 Cleanups 2020-09-27 02:48:40 +02:00
twinaphex c91df88fe2 Cleanups 2020-09-26 23:39:15 +02:00
twinaphex c0470854d4 Cleanups 2020-09-26 23:33:59 +02:00
Jamiras 376342a2c3 hook up reset for all config_string_options 2020-09-26 09:59:50 -06:00
Jamiras 02ddbc41cc allow disabling leaderboard notifications and trackers separately 2020-09-25 19:28:56 -06:00
jdgleaver e8b8d3c71b Prevent out of bounds array acces when using left/right to remap 'Keyboard' device type inputs 2020-09-25 12:40:22 +01:00
twinaphex bc43db1789 Remove gfx_display_get_coords_array 2020-09-25 10:31:07 +02:00
Autechre 7d8518ec45
Merge pull request #11373 from Jamiras/cheevos_lboard_display
(cheevos) add display widget for active leaderboards
2020-09-25 03:38:03 +02:00
twinaphex c0a790e74a Buildfix for platforms that don't have widget support 2020-09-24 22:20:12 +02:00
Jamiras 71cd400e56 add display widget for active leaderboards 2020-09-24 11:29:29 -06:00
twinaphex 8c440ef72c Optimize gfx_display_draw_keyboard 2020-09-24 09:07:47 +02:00
twinaphex eb0376fe7d Do white texture freeing outside of gfx_display_init_white_texture 2020-09-24 07:03:24 +02:00
twinaphex a74d24c3ce Rename gfx_display_allocate_white_texture to
gfx_display_init_white_texture
2020-09-24 06:46:21 +02:00
twinaphex 515e119861 Get rid of gfx_animation_get_delta_time 2020-09-24 06:14:04 +02:00
twinaphex 37237db804 GFX_DISPLAY_GET_UPDATE_PENDING - turn function into macro 2020-09-24 05:59:14 +02:00
twinaphex c040e4cd08 Cleanups 2020-09-23 22:14:30 +02:00
twinaphex 4fb2065061 Get rid of gfx_display_draw_pipeline 2020-09-23 21:56:48 +02:00
twinaphex 5a481d8653 Get rid of gfx_display_blend_{begin/end} 2020-09-23 21:37:18 +02:00
twinaphex a0ae6be35b Stop using small wrapper functions in gfx_display 2020-09-23 20:36:25 +02:00
twinaphex 43b43351fa Start making gfx_display_blend_begin and gfx_display_blend_end
unnecessary
2020-09-23 09:32:42 +02:00
Jamiras 1587165b56 sync reset value to default 2020-09-21 22:44:43 -06:00
twinaphex d898304ee5 Get rid of gfx_display_draw_gradient 2020-09-22 03:29:48 +02:00
twinaphex 0e49f058f3 Use strcpy_literal in more places 2020-09-19 23:59:06 +02:00
Autechre 7b600d46ad
Merge pull request #11342 from Ophidon/master
Variable BFI
2020-09-19 22:24:47 +02:00
valadaa48 63fd0aa461 RGUI: Add 3:2 and 3:2 (centered) aspects 2020-09-18 18:31:33 -04:00
Ophidon 2f36c94f3f Variable BFI
BFI support added for 180hz / 240hz / etc. Solves issue with image retention from voltage issues at 120hz BFI. Also disabled BFI while in menu, as if set to an incorrect value for the current refresh rate, could cause severe flickering and difficulty reverting to the correct value.
2020-09-18 11:57:32 -04: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 8a5ebbf24d Add option to scale overlays automatically (with aspect ratio correction) 2020-09-17 17:23:07 +01:00
twinaphex 3a37e13a54 Call video_driver_set_viewport directly 2020-09-15 11:05:47 +02:00
jdgleaver 34e08a688f (Sensors API) Android (crash-)fixes/improvements + add option to disable sensor input 2020-09-14 17:52:45 +01:00
twinaphex 80e4524878 Turn menu_entry_init into macro 2020-09-13 09:03:21 +02:00
twinaphex 2e87e3bc64 (Menu drivers) Start using direct entry_action function instead
of going through wrapper functions
2020-09-13 08:48:30 +02:00
twinaphex ba9ad1057f Get rid of menu_entry_get_rich_label/menu_entry_get_value 2020-09-12 18:48:22 +02:00
twinaphex 59acce5035 (RGUI) Make sure entry_value is correct 2020-09-12 09:58:23 +02:00
twinaphex d416974f52 Backport some RGUI efficiency nits
(1499dbc0c6)
2020-09-12 09:40:32 +02:00
Tony Jansson d610233564 Fix playlist history size 2020-09-11 02:03:59 +03:00
Autechre 8f60e63527
Merge pull request #11307 from sonninnos/close-content-hotkey
Hotkey for Close Content / Unload Core
2020-09-09 06:26:49 +02:00
Autechre 02afd06f5b
Merge pull request #11305 from jdgleaver/overlay-config
Overlay configuration improvements
2020-09-09 06:25:54 +02:00
Tony Jansson eb5e5b546c Hotkey for Close Content 2020-09-08 22:12:42 +03:00
jdgleaver 5a0dc5524d Fix string_list memory leaks 2020-09-08 14:58:49 +01:00
jdgleaver b8ea4fd54e Overlay configuration improvements 2020-09-08 13:37:51 +01:00
twinaphex 46b3f3c50c Move this outside of the header and into menu_setting.c 2020-09-05 20:27:29 +02:00
twinaphex 43e75ce741 (menu_displaylist_parse_playlists) Use non-heap allocated
string list functions
2020-09-04 06:35:14 +02:00
twinaphex 318ac1f667 (filebrowser_parse) Use non-heap allocated string_list functions 2020-09-04 06:29:30 +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
twinaphex 0cdb710f80 Cleanups 2020-09-01 07:31:08 +02:00
twinaphex eb1ab2e429 (Ozone) Cleanups 2020-09-01 07:26:04 +02:00
twinaphex 1e842c9701 Turn this static 2020-09-01 06:31:20 +02:00
twinaphex 77f3e2b2ef (Ozone) Cleanups 2020-09-01 05:14:19 +02:00
twinaphex 0ffb988554 (Ozone) Cleanup 2020-09-01 05:11:28 +02:00
twinaphex e1f16f1855 (Ozone) remove abstraction layer ozone_draw_text - just call
gfx_display_draw_text directly
2020-09-01 05:06:21 +02:00
twinaphex 07f46bad2b Remove unused event loop glue functions for menu entries 2020-09-01 00:42:24 +02:00
jdgleaver 20230ec625 (Android) Play Store builds: Do not resolve symlinks when handling core paths 2020-08-31 12:13:49 +01:00
twinaphex 201f119c51 Rewrite ozone_draw_text 2020-08-31 04:13:23 +02:00
twinaphex 147d420885 (XMB) Cleanups 2020-08-31 04:04:37 +02: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
Pedro 524828bc38 Variable incorrectly not changed before 2020-08-27 21:33:43 -03:00
Pedro b6655034ef Implementation of fullscreen over notch function. 2020-08-27 20:41:30 -03:00
twinaphex 78dd0de912 Cleanup deferred_push_cursor_manager_list - avoid extra string
allocations by using config_get_entry instead
2020-08-27 12:43:13 +02:00
Autechre df245d4917
Merge pull request #11239 from jdgleaver/overlay-gamepad-hide
Add option to hide overlays when a gamepad is connected (Note: Restricted functionality on Android)
2020-08-26 20:23:47 +02:00
jdgleaver 7a07cc1305 Fix 'Set Core Association' regression 2020-08-26 15:18:39 +01:00
twinaphex 662e37f670 Replace more instances of string_split 2020-08-26 13:35:05 +02:00
twinaphex 01e5ec94bb Prefer to use string_split_noalloc 2020-08-26 12:41:57 +02:00
twinaphex e67cdb39ae (menu_networking) Use string_split_noalloc 2020-08-26 04:44:40 +02:00
twinaphex 8840410ddb Use string_split_noalloc 2020-08-26 04:39:19 +02:00
twinaphex ebe2b869a5 (menu_cbs_deferred_push) Use string_split_noalloc 2020-08-26 03:58:42 +02:00
twinaphex a45b1a5e9c Start using string_split_noalloc 2020-08-26 03:43:09 +02:00
twinaphex 915bbc9bcc (menu_displaylist) Cleanup 2020-08-25 14:51:37 +02:00
twinaphex 6af6d5eb1c (jdgleaver) Initialize string lists properly to prevent memory leaks 2020-08-25 13:25:27 +02:00
jdgleaver cc2e098dab Add option to hide overlays when a gamepad is connected (Note: Restricted functionality on Android) 2020-08-25 11:12:37 +01:00
Tony Jansson 55554a8707 Cheats maximum search value corrections 2020-08-25 01:05:58 +03:00
twinaphex 700009216c Use more string_list_initialize/deinitialize 2020-08-24 19:18:54 +02:00
twinaphex 26ec12ddc5 create_string_list_rdb_entry - use string_list_initialize/deinitialize 2020-08-24 19:12:51 +02:00
twinaphex 85599b27a5 menu_ctx_bind_t - we don't need retcode 2020-08-24 16:57:09 +02:00
twinaphex ecc54b4d4e (Menu) Put selection_buf_old on stack too 2020-08-24 16:08:09 +02:00
twinaphex b6f8acbaec (Ozone) Cleanups 2020-08-24 12:58:05 +02:00
twinaphex da210f6702 (XMB) Get rid of forward declaration 2020-08-24 12:49:16 +02:00
twinaphex e4f99dc648 (ozone) reorder structs, alignment 2020-08-24 10:47:17 +02:00
twinaphex 7a6b9fd1b2 (Ozone) Horizontal list - put on stack - it's already on heap-allocated
struct as is
2020-08-24 10:22:32 +02:00
twinaphex 93fa9a0194 Add file_list_deinitialize - does everything that file_list_free
does except for freeing the passed struct pointer
2020-08-24 01:45:45 +02:00
twinaphex c2a8a0f04e use string_list_initialize/deinitialize in more places 2020-08-24 01:16:14 +02: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
Autechre 637e43f4fd
Merge pull request #11212 from Nargash/master
Automatically sort save files, save states, and screenshots by content dir parent folder name
2020-08-21 14:42:59 +02:00
Nargash b8990d601a Add configuration options to sort save files, save states, and screenshots into folders named after the content directory folder. 2020-08-20 19:29:00 -05:00
twinaphex 75d925cd3f setting_list.h - get rid of placeholder padding hack in struct 2020-08-20 19:30:25 +02:00
Autechre a268c6b4a0
Merge pull request #11214 from fpscan/hacking_the_kernel
(ozone) new theme: Hacking the Kernel
2020-08-20 17:08:24 +02:00
jdgleaver 20d27df27f (GLUI) Add 'Hacking the Kernel' theme 2020-08-20 10:14:32 +01:00
Tony Jansson 1c7d8d3f31 (XMB+OZONE) Quick Menu ports: AtD icon + key labels for keyboard type 2020-08-19 17:35:15 +03:00
Ömercan Kömür a91b51156e (ozone) new theme: Hacking the Kernel 2020-08-19 15:24:47 +03:00
Autechre f4c6c26312
Merge pull request #11186 from fpscan/boysenberry-ozone
(ozone) new theme: Boysenberry
2020-08-19 12:55:56 +02:00
twinaphex dc3dc574d8 String stack size cleanups 2020-08-19 06:53:09 +02:00
twinaphex 5166eebcaf for loop cleanups - use space after 'for' 2020-08-19 03:06:22 +02:00
jdgleaver 2fd8a5b0ed (GLUI) Improve selection cursor visibility when content is running and menu background is (semi-)transparent 2020-08-18 16:38:52 +01:00
twinaphex 624a70f062 More strings being moved from heap to stack 2020-08-18 14:47:57 +02:00
twinaphex a5f3ff9c18 (RGUI) Silence warnings due to struct reordering 2020-08-18 14:31:30 +02:00
twinaphex 216190b826 Clean up more string variables on heap - move to stack 2020-08-18 14:26:15 +02:00
twinaphex ad7db2e2b8 Move path variables off heap size; prevent potential memory
fragmentation
2020-08-18 12:44:14 +02:00
twinaphex 855351de9e Reorder g_defaults, alignment 2020-08-16 04:38:02 +02:00
Tony Jansson b6f37f4245 (XMB+OZONE) Use correct icons in Quick Menu control ports with keyboard device type 2020-08-15 21:47:36 +03:00
Autechre 5119b71377
Merge pull request #11200 from schellingb/explore_structorder
Explore: Order structs according to coding guidelines
2020-08-15 20:39:55 +02:00
Bernhard Schelling 46bbbc4478
Order structs according to coding guidelines 2020-08-16 03:22:09 +09:00
twinaphex f09df7c6e3 Reorder structs, alignment 2020-08-15 19:43:17 +02:00
twinaphex 0eaca29c68 (RGUI) Silence warnings 2020-08-15 17:05:13 +02:00
twinaphex 55eeb28db7 Reorder structs, alignment 2020-08-15 01:39:22 +02:00
twinaphex a8646a2610 Reorder structs, alignment 2020-08-15 00:44:35 +02:00
twinaphex e399a2f78e reorder structs, alignment 2020-08-15 00:35:15 +02:00
twinaphex eb1db52b89 Reorder structs, alignment 2020-08-15 00:11:58 +02:00
Autechre 578e6cc07f
Merge pull request #11196 from sonninnos/device-type-refresh
Refresh bind list on device type change
2020-08-14 23:09:02 +02:00
twinaphex 203882ec9a Struct reorder, alignments 2020-08-14 23:08:33 +02:00
twinaphex 327d82cc1d Struct reordering/alignment 2020-08-14 22:21:05 +02:00
twinaphex 10b06ce828 More struct reordering/alignment 2020-08-14 21:00:04 +02:00
twinaphex c3e4c32401 Reorder structs 2020-08-14 20:21:44 +02:00
twinaphex c4f52774f9 Reorder structs - setting_list.h 2020-08-14 20:12:07 +02:00
Tony Jansson ba6d45bdc0 Refresh bind list on device type change 2020-08-14 21:04:21 +03:00
Autechre f5600aba7f
Merge pull request #11192 from sonninnos/master
Remap file loading fixes
2020-08-14 19:48:38 +02:00
Autechre 7cf6d1a1cc
Merge pull request #11195 from jdgleaver/core-updater-search
Enhanced core downloader search functionality
2020-08-14 19:48:16 +02:00
twinaphex e7c63df2bc Struct reordering 2020-08-14 19:06:25 +02:00
jdgleaver 6d8f3cb182 Enhanced core downloader search functionality 2020-08-14 17:53:44 +01:00
twinaphex 023fd4f330 Alignment changes 2020-08-14 18:19:57 +02:00
twinaphex dffa052958 Rearrange draw struct 2020-08-14 15:58:43 +02:00
Tony Jansson a8faacc926 Remap file loading fixes 2020-08-14 15:40:49 +03:00
twinaphex 67913127ef Some struct reordering 2020-08-14 14:35:43 +02:00
jdgleaver e76f5a212a (core_updater_list) Replace static entries array with dynamic array via RBUF library 2020-08-14 12:33:49 +01:00
Ömercan Kömür 8fad42f3c9 (ozone) new theme: Boysenberry 2020-08-12 18:37:22 +03:00
rsn8887 6fd7dc0519 [SWITCH] Fix input bind icons being off by one line 2020-08-10 21:39:52 -05: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 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
jdgleaver e6000afddb (GLUI) Add optional system-specific playlist icons 2020-08-06 17:24:28 +01: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
twinaphex cd329a259c Revert "(MaterialUI) silence some warnings"
This reverts commit db7e38fed5.
2020-08-05 16:46:10 +02: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
Bernhard Schelling a0db4db6c6
Instead of #if 0 use an explicit unused name 2020-08-05 01:46:32 +09:00
Bernhard Schelling 075c9162b7
Disable undocumented original_title field 2020-08-05 01:18:22 +09:00
Autechre 3d8ae1126a
Merge pull request #11140 from schellingb/explore_icons_glui
Support for glui showing system icons in explore view
2020-08-04 14:58:43 +02:00
Bernhard Schelling b73c3dcde0 Cleaned up icon handling of glui to properly handle external icons 2020-08-04 21:54:39 +09:00
twinaphex 3680804217 Undo path_basedir_size 2020-08-04 03:05:20 +02:00
twinaphex bafeebcd50 (Ozone) Get rid of some forward declarations 2020-08-03 22:23:48 +02:00
Bernhard Schelling 25c6664746
Fix pointless comparison of unsigned value to zero 2020-08-04 04:07:23 +09:00
Bernhard Schelling 948e2f9f8e Support for glui showing system icons in explore view 2020-08-04 03:32:49 +09:00
Bernhard Schelling 5229b255b5 Show system icons in explore view 2020-08-04 02:37:34 +09:00
twinaphex 4465a7bd0b Cleanup 2020-08-03 18:03:15 +02:00
twinaphex 1d6a760de3 (menu_explore) Cleanup - build_list now returns allocated struct 2020-08-03 12:49:42 +02:00
twinaphex 5105216380 (Android) Fix build 2020-08-03 00:51:29 +02:00
twinaphex 3e41cbc381 Revert "Add get_metrics to poke interface"
This reverts commit 119689c940.
2020-08-02 23:44:28 +02:00
twinaphex 119689c940 Add get_metrics to poke interface 2020-08-02 19:25:45 +02:00
Bernhard Schelling 90d2991ef1 Create per category "By ..." string
This avoids string concatenation that might be undesired by some languages
Rename string "Tags" to "Tag" as it just pertains to a single tag
Remove 3 old strings
2020-08-03 00:16:58 +09:00
Autechre 4371efafd7
Merge pull request #11127 from schellingb/explore_multilangfix2
Explore: Better accommodate different languages (updated)
2020-08-01 23:14:45 +02:00
Bernhard Schelling e26a9db3de Change "ITEM_COUNT" to "ITEMS_COUNT" 2020-08-02 05:09:39 +09:00
Twinaphex 8441f60314 Remove unused variable 2020-08-01 21:47:22 +02:00
Bernhard Schelling b396f29769 Replace 3 strings with format strings to better accommodate different languages
- "By" becomes "By %s"
- "Select" becomes "Select %s"
- "Items" becomes "%u Items"
2020-08-02 04:46:32 +09:00
twinaphex 83f4ce11f3 Revert "Replace 3 strings with format strings to better accommodate different languages"
This reverts commit a80fe4fbbc.
2020-08-01 21:24:59 +02:00
Bernhard Schelling a80fe4fbbc Replace 3 strings with format strings to better accommodate different languages
- "By" becomes "By %s"
- "Select" becomes "Select %s"
- "Items" becomes "%u Items"
2020-08-02 04:11:03 +09:00
twinaphex 3635bf0d01 Silence some warnings 2020-08-01 18:04:56 +02:00
jdgleaver 776301883c Enhanced playlist search functionality 2020-07-31 15:14:51 +01:00
twinaphex 573f9e60c7 (libnx) Prevent some warnings 2020-07-31 10:54:57 +02:00
Bernhard Schelling 1644e493f0 Explore: Support for internationalization
Replace hardcoded English strings with msg_hash_to_str lookups
2020-07-31 03:09:23 +09:00
Bernhard Schelling 5da2ada6b8 Explore: Fix freeing of cached playlist (it could cause a crash in glui menu when jumping up multiple menu lists)
Also makes setting cached_playlist with an external list less of a hack and simplifies menu_explore.c a bit
2020-07-31 00:53:01 +09:00
jdgleaver d77f6705df Add option to hide 'Explore' tab + menu clean-ups 2020-07-29 13:01:49 +01:00
Bernhard Schelling 61e2b1581d
Explore view improvements
If no database item can be connected to a playlist entry through CRC32, find a match of the database name value using the playlist label.
Use database name instead of the systemname field of core_info_t as system name (systemname of some cores contains multiple system names, database name is more appropriate).
2020-07-29 04:33:03 +09:00
alphanu1 e222d62f6c
Merge pull request #7 from libretro/master
upstream
2020-07-28 18:55:54 +01:00
twinaphex b1acb00832 (menu_explore.c) Cleanups - prevent some implicit memsets 2020-07-28 17:38:50 +02:00
Autechre c963bbe15f
Merge pull request #11092 from schellingb/explore_fix_crashonexit
Explore view - Fix crash when quitting while viewing item details
2020-07-28 17:14:45 +02:00
twinaphex dd524d7d35 (MaterialUI) Add placeholder Explore tab icon 2020-07-28 16:57:29 +02:00
Bernhard Schelling 6c8506399c
Fix crash when quitting while viewing item details
When RetroArch was closed while viewing/playing a content item opened through the explore view there would be a crash during cleanup because the cached playlist would be freed twice (once by playlists own playlist_free_cached and once more through explore_free).
2020-07-28 23:51:06 +09: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
twinaphex 6ccb758939 Update 2020-07-28 14:33:23 +02:00
twinaphex 395de4bae5 (Menu explore) jdgleaver's memory leak fixes 2020-07-28 14:32:46 +02:00
Bernhard Schelling 77a7e7eecd
Fix 2 memory leaks in explore view
Free cached playlist that could have been loaded before entering explore view
Free temporary hashmap used to filter sub-categories
2020-07-28 21:06:20 +09:00
twinaphex 4c6136d970 Stub out menu_explore.c when HAVE_LIBRETRODB is not defined 2020-07-28 12:15:05 +02:00
twinaphex 079d1fc2fc (menu explore) Further cleanups 2020-07-28 11:42:51 +02:00
twinaphex 36c27378bf Cleanups; C89_BUILD buildfixes, CXX_BUILD buildfixes, etc 2020-07-28 10:47:26 +02:00
twinaphex 0d6ceafb8b (Menu explore) Buildfix 2020-07-28 05:26:44 +02: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 fba4a8e837 (RGUI) Add optional 'toggle switch' icons 2020-07-27 14:45:07 +01:00
Hugo Hromic e5a50a4e33 (Menu/DisplayList) Make notification font size option visible when graphics widgets are enabled
The on-screen audio/video statistics uses the font size option for rendering.
2020-07-26 22:28:32 +01:00
jdgleaver 9a19a7ae31 Core option improvements 2020-07-24 15:31:50 +01:00
Autechre 53eee276c7
Merge pull request #11070 from Ryunam/notification-font
Make Notification Font option visible when Graphics Widgets are enabled
2020-07-23 18:42:47 +02:00
Ryunam ee8317a8e4 Make Notification Font visible when Widgets are enabled 2020-07-23 18:26:42 +02:00
jdgleaver 60407a84e6 Add input remap drop-down lists 2020-07-23 17:20:41 +01:00
twinaphex b84f62c440 Silence warning - char buffer was too small for what we wanted to
fit into it
2020-07-23 06:46:05 +02:00
twinaphex 06eeea3931 We do use it, but only for HAVE_NETWORKING builds 2020-07-23 06:03:13 +02:00
twinaphex efbb6aa81d stub this out for now until we actually start using this 2020-07-23 05:58:07 +02:00
twinaphex a3242daa5d Silence more warnings 2020-07-23 05:51:04 +02:00
twinaphex b929553231 - Silence 'variable might be used uninitialized' warning
- PS2 - Add TODO/FIXME note
2020-07-23 05:02:52 +02:00
Ryunam 4d2fe14c1d Adjustments to Screenshot Notification options 2020-07-20 19:44:55 +02:00
twinaphex 54b04af8de More buildfixes 2020-07-20 02:11:03 +02:00
twinaphex 4337ec33d7 Buildfix 2020-07-20 02:09:07 +02:00
twinaphex 9fb54a0a1c Fix --disable-menu 2020-07-20 01:58:49 +02:00
twinaphex 632329f4bb We should probably allow the user to individually control the screenshot
flash
2020-07-20 01:11:08 +02:00
twinaphex 279e142668 Properly hide other notification visibility screenshot settings
when master one is disabled
2020-07-20 01:09:08 +02:00
twinaphex 36a76d1248 Take out my own implementation in favor of Ryunam's 2020-07-20 00:50:40 +02:00
Autechre 8861416b32
Merge pull request #11046 from Ryunam/screenshot-notification
Add options to control visibility, duration and flashing effect of Screenshot Notifications
2020-07-20 00:27:02 +02:00
Ryunam 5014f90e4d Add options to customize Screenshot notifications 2020-07-19 23:42:16 +02:00
twinaphex ccd9b8ead4 (Widgets) onscreen Notifications -> Add setting to enable/disable 'take
screenshot' widget individually
2020-07-19 23:26:14 +02:00
twinaphex 723b42f655 Cleanups 2020-07-19 22:44:46 +02:00
Hugo Hromic 1e3fb9505c (Menu/OSD) Implement configurable update interval for memory usage display
Obtaining system memory metrics is generally an expensive operation.
2020-07-19 19:57:50 +01:00
jdgleaver 230c1cdde2 Add option to show/hide 'last used disc restored' notifications 2020-07-17 12:52:28 +01:00
twinaphex 36b581c733 Add 'Show Cheats Applied' onscreen notification visibility setting 2020-07-17 03:32:22 +02:00
twinaphex ea920b1aaf Silence warning 2020-07-17 02:18:32 +02:00
Autechre bbe234898f
Merge pull request #11030 from hhromic/menu-imprv
(Menu) General usability improvements for setting defaults
2020-07-16 18:55:18 +02:00
jdgleaver 75b3b5350c Add 'Notification Visibility' menu 2020-07-16 16:32:01 +01:00
Hugo Hromic f4dec615ef (Menu) General usability improvements for setting defaults 2020-07-16 09:17:10 +01:00
jdgleaver 84a71ea133 Rewrite 'task_autodetect.c': Ensure thread safety + clean-ups/rationalisation 2020-07-14 17:46:58 +01:00
Autechre 72edc1ac7c
Merge pull request #11010 from Jamiras/cheevos_sound
(cheevos) add option to play custom sound on achievement unlock
2020-07-12 13:32:59 +02:00
twinaphex 8656b3d6f8 Create specialized optimized path_basedir_size 2020-07-11 19:29:43 +02:00
Jamiras 96c5f5dfb0 add option to play custom sound on achievement unlock 2020-07-11 10:56:09 -06:00
jdgleaver 73b502a16d Fix 'current item' marker position in float drop-down lists 2020-07-10 11:44:18 +01:00
jdgleaver 506aa0a36c Add optional widget-based 'load content' launch feedback animation 2020-07-09 13:05:28 +01:00
Hugo Hromic 61aed8b911 (Menu/Drivers) Implement null driver protection for critical drivers
Can prevent the user from locking him/herself out of the program using the UI.
Protected drivers: input, joypad, hid, video and menu.

Note: Developer users can always override this protection by manually editing
the active configuration file or using `--appendconfig`.
2020-07-07 22:54:45 +01:00
Hugo Hromic c985dcc84d Revert "Add 'Ignore null drivers' setting"
This reverts commit f16f3d2968.
2020-07-07 22:54:45 +01:00
Autechre abfd0ed030
Merge pull request #10959 from jdgleaver/static-core-load
(Static Platforms) Add option to not restart RetroArch when launching content with the currently loaded core
2020-07-07 11:45:18 +02:00
twinaphex 11872ea157 Revert "Make Threaded Video an option that requires a restart"
This reverts commit 05d11f6c1d.
2020-07-07 07:49:33 +02:00
twinaphex 05d11f6c1d Make Threaded Video an option that requires a restart 2020-07-07 07:44:23 +02:00
twinaphex 9b228a5f00 (menu displaylist) Add ifdefs 2020-07-05 10:14:40 +02:00
twinaphex ce98bbd395 Put this under HAVE_RUNAHEAD ifdef 2020-07-05 05:33:53 +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 21c3072ffb Fix menu 2020-07-02 17:14:31 +02:00
twinaphex 47e22d69bf Add HAVE_VIDEO_FILTER 2020-07-02 06:28:14 +02:00
twinaphex ac67463ebc Add HAVE_SCREENSHOTS ifdef 2020-07-02 02:16:47 +02:00
twinaphex 3ee788def2 Add HAVE_DSP_FILTER 2020-07-02 02:13:04 +02:00
twinaphex d6bd12277f Hide Network Settings and Cheevos screens if HAVE_NETWORKING
and/or HAVE_CHEEVOS are not defined
2020-07-01 21:10:19 +02:00
twinaphex 87b9c2a367 Add HAVE_REWIND switch 2020-07-01 21:04:05 +02:00
twinaphex d50c49c4e8 Add more HAVE_SCREENSHOTS ifdefs 2020-07-01 17:54:13 +02:00
twinaphex 1e6b8385fd Fix two potential memory leaks 2020-07-01 00:09:54 +02:00
twinaphex 53797b15ce CXX_BUILD buildfix 2020-06-30 22:15:49 +02:00
twinaphex 395fd7fea7 (menu_cbs_get_value.c) Optimizations 2020-06-30 20:55:05 +02: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 0a1775feb2 Cleanups 2020-06-30 07:56:16 +02:00
twinaphex a2438c67a6 Cleanups 2020-06-30 07:32:24 +02:00
twinaphex cf4b406366 Prevent NULL-pointer dereference 2020-06-30 07:04:55 +02:00
twinaphex 9fc3536237 Optimization 2020-06-30 07:04:23 +02:00
twinaphex 1315dd96f5 menu_setting_new_internal -replace calloc with malloc 2020-06-30 06:58:08 +02:00
twinaphex 99f8137972 (Menu) Cleanups 2020-06-30 05:43:39 +02:00
twinaphex 5479196a79 Get rid of setting_get_type 2020-06-30 05:21:47 +02:00
twinaphex 6419ed08cc We can now get rid of menu_setting_get_label 2020-06-30 03:30:41 +02:00
twinaphex f6dc06ac10 (menu_cbs_get_value.c) Cut down on all the slow menu_setting_find
calls
2020-06-30 03:22:38 +02:00
twinaphex 879cb375e7 (menu_cbs_get_value.c) Start getting rid of settings pointer
grabbing
2020-06-30 02:36:55 +02:00
twinaphex d748b37e6b (Ozone/XMB) Use malloc instead of calloc for file_list 2020-06-29 04:24:06 +02:00
parport0 f2728ae0de Show TEXTURE_BLUETOOTH instead of TEXTURE_NETWORK 2020-06-28 23:08:58 +03:00
Autechre b57e6e76c2
Revert "Bluetooth fixes" 2020-06-28 19:40:37 +02:00
parport0 5985d99466 Uncomment bluetooth.png 2020-06-28 15:59:07 +03:00
twinaphex 6e015d32a8 Optimize some strlen and file_path_str usage - condense this
back to STRLEN_CONST usage
2020-06-28 00:36:23 +02:00
twinaphex 497dc7a38a (menu) move headers around - no more menu/widgets 2020-06-27 19:33:49 +02:00
twinaphex 01e2cc2465 Integrate menu_dialog.c into retroarch.c 2020-06-27 19:08:02 +02:00
twinaphex 8259a0fd89 (Menu) Merge menu_filebrowser.c into menu_displaylist.c 2020-06-27 18:54:14 +02:00
twinaphex deb7fc5bf9 Comment out bluetooth.png image for now until it has been added
to retroarch-assets
2020-06-27 18:32:15 +02:00
Autechre 10ddb274bc
Merge pull request #10866 from parport0/master
Add a bluetooth driver
2020-06-27 16:46:11 +02:00
twinaphex f16f3d2968 Add 'Ignore null drivers' setting 2020-06-27 03:00:28 +02:00
twinaphex 73199d5df3 (MaterialUI) Use malloc 2020-06-27 01:52:00 +02:00
Autechre 5f607f5809
Merge pull request #10922 from jdgleaver/playlist-config
Refactor playlist struct configuration
2020-06-26 20:35:39 +02:00
twinaphex 1ae20ea17c Style nits - turn macro names into upper-case - some while style nits 2020-06-26 20:00:19 +02:00
twinaphex 011806bce8 Cleanups 2020-06-26 17:45:35 +02:00
twinaphex 3aafed5030 Cleanups 2020-06-26 17:37:09 +02:00
twinaphex 0bb6fafac5 Revert "(Ozone) Cleanups"
This reverts commit ac601e6aeb.
2020-06-26 17:27:45 +02:00
twinaphex ac601e6aeb (Ozone) Cleanups 2020-06-26 17:21:32 +02:00
twinaphex e4c187b718 xmb_render - Make it more similar to materialui_render 2020-06-26 16:57:54 +02:00
twinaphex 1fe0dbafbe (XMB) Only do mouse processing once in render - not every time in frame 2020-06-26 16:51:50 +02:00
jdgleaver 0fcfb3deda Refactor playlist struct configuration 2020-06-26 15:40:19 +01:00
twinaphex 7027b094c1 gfx_display_draw_text - cleanups 2020-06-25 23:45:14 +02:00
twinaphex 6e072e245e Enlarged INT/UINT selection limit from 999 to 9999 2020-06-25 14:41:56 +02:00
twinaphex de36ff20fb Create string_ends_with_size 2020-06-25 14:38:06 +02:00
twinaphex aa48eeb98e Turn path_default_slash uppercase, and do some optimizations 2020-06-25 13:36:01 +02:00
twinaphex 601a73fa8b Use string_starts_with_size where possible - avoids the strlen 2020-06-25 12:51:04 +02:00
parport0 a24d2b50a5 bluetooth: split into labels and sublabels 2020-06-24 12:53:27 +03:00
parport0 23c08ad9b0 Add bluetoothctl bluetooth driver 2020-06-24 12:53:27 +03:00
twinaphex 58f67aacc7 Cleanups 2020-06-24 10:22:45 +02:00
twinaphex a48af59c92 Cleanups 2020-06-23 18:05:07 +02:00
twinaphex edc5d1a1e5 Merge menu_input_bind_dialog into retroarch.c - global state is now
part of rarch_state
2020-06-23 17:26:33 +02:00
twinaphex d62bf9b16c (menu_input_bind_dialog.c) Cleanups 2020-06-23 17:13:46 +02:00
twinaphex 459a7df778 (menu_input_bind_dialog.c) Pointer cleanups 2020-06-23 16:58:37 +02:00
twinaphex f8fecadd88 menu_input_bind_dialog - cleanups 2020-06-23 16:49:08 +02:00
twinaphex d0f57cdd6f Update 2020-06-23 15:06:20 +02:00
twinaphex dbb2cbb959 Cleanups 2020-06-23 15:03:48 +02:00
Hugo Hromic 4bc4a4dae8 (Ozone/XMB) Use consistent icon for 'Screen Resolution' option in video output menu 2020-06-21 10:50:46 +01:00
Hugo Hromic d9fabec88e (Ozone) Add missing icon for 'State Slot' option in Quick Menu 2020-06-19 22:55:47 +01: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 85bbba84c2 (GLUI) Optimise list insertion when adding playlist and dropdown list items 2020-06-14 14:45:53 +01:00
twinaphex 6cc9a3f9b4 (UWP) Buildfix + uwp_input cleanups 2020-06-13 01:01:30 +02:00
jdgleaver 1cdd3c32c0 (Manual Content Scanner) Add option to disable recursive scanning 2020-06-12 10:00:38 +01:00
twinaphex 45f90ad89a (menu_dialog) Cleanups
Make menu_hash_help no longer dependent on the menu code
2020-06-12 08:06:30 +02:00
Autechre dc10dc4702
Merge pull request #10837 from parport0/master
Add options for moving the on-screen overlay
2020-06-11 18:03:02 +02:00
jdgleaver fa069c28f3 Add sublabels to all hotkey bind entries 2020-06-11 15:38:25 +01:00
jdgleaver 42ad070a1d Add 'core management' menu 2020-06-11 14:12:20 +01:00
parport0 a4590acde9 Add options for moving the on-screen overlay 2020-06-11 15:39:23 +03:00
twinaphex 963c01cf48 (RGUI) Move global state to struct 2020-06-10 23:33:20 +02:00
twinaphex e0090010f4 Cleanup menu_input_bind_dialog.c 2020-06-10 17:54:19 +02:00
hizzlekizzle db63e0a60a
add hold-select to hardcoded menu gamepad combos (#10827)
* add hold-select to hardcoded menu gamepad combos
2020-06-09 21:54:28 -05:00
jdgleaver eb425b997b Suppress the display of 'empty' quick menu listings when closing content 2020-06-09 14:09:22 +01:00
twinaphex 1597a6893d Get rid of 'All Users Control Menu' setting - was not properly
implemented - input system is in for a big overhaul in the near
future so this could be addressed in a better way then
2020-06-09 13:55:03 +02:00
jdgleaver 32a6d97e48 Set SD_FLAG_ADVANCED on 'Hotkey Enable Delay' setting 2020-06-09 11:22:36 +01:00
jdgleaver 47150cab07 Wire up menu entry for 'hotkey delay' option + 'hotkey enable' clarifications 2020-06-09 10:20:44 +01:00
twinaphex 7841f07e08 Add ifdef 2020-06-08 21:45:31 +02:00
twinaphex 9364deb539 Cut down on string_is_equals for history lists 2020-06-08 21:34:39 +02:00
twinaphex 03247eceba More localizations - some string is equal optimizations 2020-06-08 20:52:37 +02: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
twinaphex b1425bcd91 Localize NA string 2020-06-08 15:50:43 +02:00
twinaphex 66602f4ff8 Refactor left/right callbacks for tabs - just look for '_tab'
at the end of a string
2020-06-08 15:44:36 +02:00
jdgleaver ba6e53c2e4 Fix launching of playlist content assigned to 'built-in' cores 2020-06-08 12:00:40 +01:00
twinaphex 5db62e73da (Ozone/XMB) Optimize some string_is_equal comparisons 2020-06-08 07:19:19 +02:00
twinaphex 2a21a3f893 Cleanups 2020-06-08 06:00:53 +02:00
twinaphex 9707f1f622 Get rid of gfx_ctx_animation_tag 2020-06-08 04:09:12 +02:00
twinaphex d15942f6c8 Cleanups 2020-06-07 20:55:27 +02:00
twinaphex 81b2cc0d14 Get rid of menu_entry_is_password 2020-06-07 20:27:17 +02:00
twinaphex 058adf247c Further optimizations to menu_entry_get - get rid of some unnecessary
small wrapper functions
2020-06-07 20:02:12 +02:00
twinaphex 45896eb26e (Ozone) Cleanups - move some static variables to only function
that needed them - and some other cleanups in loops
2020-06-07 18:17:53 +02:00
twinaphex ad29b70d9e (RGUI) Cleanups 2020-06-07 18:09:31 +02:00
twinaphex 26133d8336 (MaterialUI) Don't iteratively call menu_entries_get_size 2020-06-07 17:58:55 +02:00
twinaphex 4feed0031e (XMB) Optimize xmb_selection_pointer_changed 2020-06-07 17:53:23 +02:00
twinaphex 2460603ea5 Further optimization to ozone_draw_entries 2020-06-07 17:46:23 +02:00
twinaphex 98b847cad9 Fix some memory leaks and fallthrough errors picked up on by
Clang static code analyzer
2020-06-07 16:15:35 +02:00
twinaphex 4a9f136aa9 Make menu_shader.c no longer dependent on menu driver state 2020-06-07 05:06:20 +02:00
twinaphex fdf9f82593 (XMB) Delay menu_entry_get processing until necessary 2020-06-07 03:53:53 +02:00
twinaphex 08f1fb5b38 (Ozone) Cleanups 2020-06-07 03:45:57 +02:00
twinaphex 0010bffb63 action_select_default optimization 2020-06-07 03:33:24 +02:00
twinaphex c97fbbb155 (XMB) Make similar optimizations for XMB 2020-06-07 03:13:02 +02:00
Autechre eddcde84b6
Merge pull request #10802 from heuripedes/coz
Ozone improvement
2020-06-07 03:01:47 +02:00
twinaphex 4990bebd8a Turn macro names into all-caps 2020-06-07 02:41:48 +02:00
twinaphex 37d926fc0d Updates 2020-06-07 01:22:34 +02:00
twinaphex de09440d1c Change macros to all caps 2020-06-07 01:19:17 +02:00
Higor Eurípedes ec197c441e ozone: Move some menu_entry_get*() calls to a better place
menu_entry_get*() was getting called even for entries that wouldn't be displayed.
2020-06-06 20:08:28 -03:00
twinaphex 7413d05705 Cleanups 2020-06-06 22:42:43 +02:00
twinaphex 255cd3a937 MENU_ENTRIES_CTL_LIST_GET no longer used by menu drivers 2020-06-06 19:09:03 +02:00
twinaphex 82c009d405 Pass state around to menu_shader_manager_free 2020-06-06 18:44:53 +02:00
twinaphex 35fce65656 Move menu_driver_shader into menu_handle state 2020-06-06 18:41:21 +02:00
twinaphex 01da7b95e2 Revert "Move menu_displaylist global state to menu_handle_t"
This reverts commit c79966bd62.
2020-06-06 18:30:08 +02:00
twinaphex c79966bd62 Move menu_displaylist global state to menu_handle_t 2020-06-06 18:20:06 +02:00
jdgleaver 445921ac5d Core info search optimisations + improved core selection logic + clean-ups 2020-06-06 13:59:28 +01:00
twinaphex 7063f3df13 Cleanups 2020-06-06 14:17:58 +02:00
twinaphex b8374826ac Merge menu_cbs into retroarch.c 2020-06-06 03:58:03 +02:00
twinaphex 6de048371f Cleanups 2020-06-05 22:31:30 +02:00
twinaphex 7501b010f4 Cleanups 2020-06-05 22:00:10 +02:00
twinaphex c3943836dd (Menu) Cleanups 2020-06-05 20:58:09 +02:00
twinaphex 09f85d130d Merge menu_driver.c into retroarch.c - yes, it's even bigger I know,
this is so that we can consolidate global state and then start splitting
things up across several files
2020-06-05 19:29:14 +02:00
twinaphex b8f5f22a87 Cleanups 2020-06-05 18:17:31 +02:00
twinaphex b42c1a2eda Silence some Emscripten warnings 2020-06-04 23:44:54 +02:00
Guo Yunhe 40eb37ba46 Use fallback font for Persian 2020-06-04 23:36:04 +03:00
Autechre b88377d277
Merge pull request #10787 from guoyunhe/new-languages
Add Persian, Hebrew and Asturian language options
2020-06-04 16:31:12 +02:00
Guo Yunhe 0701b99039 Add Persian, Hebrew and Asturian language options 2020-06-04 14:54:28 +03:00
jdgleaver 0a33e562f4 Add option to backup/restore installed cores 2020-06-04 12:20:58 +01:00
Autechre cfcb107caf
Merge pull request #10771 from guoyunhe/key-format
Change keys to upper case
2020-06-03 14:05:41 +02:00
Guo Yunhe 2c635e9e1b Avoid duplicate keys 2020-06-02 11:15:12 +03:00
Guo Yunhe e9916df9d0 Change keys to upper case 2020-06-02 10:28:00 +03:00
twinaphex 00167caf54 Use localized strings 2020-05-29 12:54:09 +02:00
twinaphex 941c3b9678 Cleanups 2020-05-29 12:46:18 +02:00
twinaphex 11f63f379b Localized strings 2020-05-29 10:59:14 +02:00
twinaphex 40a4b395d7 Localize string 2020-05-29 10:50:08 +02:00
twinaphex 8ddacead9f Cleanups 2020-05-29 10:37:01 +02:00
twinaphex 93ae674624 Cleanups 2020-05-29 10:33:07 +02:00
twinaphex ec35ce7fdc Add TODO/FIXME notes 2020-05-29 10:23:48 +02:00
twinaphex 06f5f40cb3 Cleanups 2020-05-29 10:09:30 +02:00
twinaphex 56619d7276 Add more TODO/FIXME notes 2020-05-29 06:31:15 +02:00
twinaphex ea0d3b5fd8 Remove obsolete function rarch_timer_begin_us 2020-05-29 05:21:37 +02:00
twinaphex aa753eb492 Localize more strings 2020-05-29 02:52:56 +02:00
Twinaphex b697ff8acd Remove unused variables 2020-05-28 23:26:17 +02:00
Autechre b9ada7bb28
Merge pull request #10726 from jdgleaver/core-updater-2
More core updater improvements
2020-05-28 23:21:09 +02:00
twinaphex 2293abd424 Fix DISABLE_NETWORKING 2020-05-28 23:19:34 +02:00
twinaphex aa2e9b9a00 Buildfixes 2020-05-28 23:15:28 +02:00
jdgleaver 044bd03a13 More core updater improvements 2020-05-28 17:48:18 +01:00
jdgleaver 9f4a9e9cd6 Core updater improvements 2020-05-27 17:02:43 +01:00
twinaphex 02bc3ee1e8 Buildfixes/cleanups 2020-05-26 21:34:05 +02:00
jdgleaver 63c7deb583 (GLUI) Fix rendering of last on-screen entry divider in thumbnail views 2020-05-26 13:03:09 +01:00
Autechre 1fd777106d
Merge pull request #10707 from jdgleaver/date-separator
Enable configuration of date seperator in clock and runtime 'last played' displays
2020-05-25 18:22:01 +02:00
jdgleaver 18912ac23d Enable configuration of date seperator in clock and runtime 'last played' displays 2020-05-25 15:46:53 +01:00
jdgleaver 230198fe4a (Ozone) Add option to sort playlists after name truncation 2020-05-25 11:32:17 +01:00
twinaphex 88b8e5a16a Replace with string_ends_with 2020-05-24 19:16:13 +02:00
twinaphex 93e8edf2f9 Fix C89_BUILD error and several style nits 2020-05-24 17:41:27 +02:00
Autechre 8ce192de82
Merge pull request #10699 from guoyunhe/ar-cjk-fonts
Fix Arabic, Chinese and Korean font rendering
2020-05-24 17:36:49 +02:00
twinaphex 64c30610f5 Fix menu_shader_manager_save_preset_internal 2020-05-24 16:44:48 +02:00
Guo Yunhe b6561ee9ca Fix Arabic, Chinese and Korean font rendering 2020-05-24 17:39:22 +03:00
twinaphex 5e772350b4 Turn rgui_osk_ptr_at_pos into static function 2020-05-24 04:06:49 +02:00
twinaphex eb92274f9b (RGUI) Cleanup function 2020-05-24 04:02:30 +02:00
twinaphex b5fe162c32 C89_BUILD fix 2020-05-24 03:52:23 +02:00
twinaphex b3a4c02d05 Reduce variable size 2020-05-23 03:12:16 +02:00
twinaphex 8c7e785661 Convert more strstrs 2020-05-23 02:46:58 +02:00
twinaphex 1db42a5611 Cleanup filebrowser_parse 2020-05-23 02:40:31 +02:00
twinaphex 44a254264b Replace more strstrs 2020-05-23 02:29:13 +02:00
Autechre 89f5eefb92
Merge pull request #10554 from WeedyWeedSmoker/International-translations-update
International: Add all the language updates from Crowdin…
2020-05-23 01:52:28 +02:00
twinaphex 9fe01ff0c8 Replace strstr with string_ends_with 2020-05-23 00:41:14 +02:00
twinaphex 923dc52f87 Simplify menu_filebrowser.c and menu_shader.c code 2020-05-22 22:29:25 +02:00
Weedy Weed Smoker 80c1b54b52
Merge branch 'master' into International-translations-update 2020-05-23 03:14:09 +07:00
twinaphex eaba575c9e Replace strstrs where possible 2020-05-22 21:11:35 +02:00
twinaphex 31674f9246 Use string_ends_with and string_starts_with 2020-05-22 20:57:48 +02:00
twinaphex 9f4b3b0fc6 Start using string_ends_with 2020-05-22 20:07:21 +02:00
Autechre 3cd320fa83
Merge pull request #10680 from im4potato/timedate
Unify timedate ENUMs and cleanup
2020-05-22 03:24:14 +02:00
twinaphex 6dcaa04a93 (Ozone) Move static variables outside of the header file 2020-05-22 01:54:57 +02:00
twinaphex 70957aa52a (Ozone) Move these static variables outside of the header 2020-05-22 01:45:52 +02:00
im4potato 1c4cb37e61 Unify timedate ENUMs and cleanup 2020-05-21 16:26:06 -07:00
twinaphex 6dc758a080 Move cheevos-new to cheevos/ 2020-05-21 23:23:01 +02:00
Autechre 52e8c102fc
Merge pull request #10671 from johanbcn/improved-shader-preset-dirs
Improved shader preset dirs
2020-05-21 17:17:03 +02:00
twinaphex 6173d11b62 Silence unused function warning 2020-05-20 23:35:32 +02:00
Francisco Javier Trujillo Mata 1eeb3dcf30 Adapt PS2 port to new SDK with newlib support (CDVDFS support is missing) 2020-05-20 20:13:19 +02:00
Joan Coll Cerdán 2768655267 Cleaner structure for auto shader presets.
Additional changes:

* Restore the previous storage path for user-presets until a better
  solution is agreed upon.

* Stop using the Video Shaders directory as fallback directory to
  store autopresets. Will be used only when autoloading as last resort to
  ensure compatibility with old setups.
2020-05-20 17:47:23 +02:00
twinaphex 03ea12d334 Move discord files to network/ 2020-05-20 15:27:27 +02:00
jdgleaver 0bbd5b7a45 (Input Remapping) Fix 'reset to default' action for analog sticks and undefined core inputs 2020-05-20 11:48:09 +01:00
twinaphex 9e5f00ba27 Turn retroarch_fail static 2020-05-20 04:43:35 +02:00
twinaphex ad1aa59ce1 Cleanup != NULL comparisons 2020-05-19 21:15:06 +02:00
twinaphex 6d37d014a0 Simplify ozone_get_entries_padding 2020-05-19 20:51:40 +02:00
jdgleaver 73b9b5b270 Remove last remaining menu hash 2020-05-19 17:29:12 +01:00
twinaphex 9ace693ec0 Refactor menu_driver_frame 2020-05-19 16:20:43 +02:00
twinaphex d4dd1f71a5 (menu_displaylist.c) Move state into struct 2020-05-19 14:59:06 +02:00
twinaphex 25888db0af (menu_driver.c) Move state into struct 2020-05-19 13:40:27 +02:00
jdgleaver 5e904c4dc3 (Input Mapping/Remapping) Restore broken 'reset to default' functionality 2020-05-19 11:35:57 +01:00
Autechre b7f56fc551
Merge pull request #10627 from johanbcn/shader-presets-fallback-dirs
Fallback directories for shader presets
2020-05-16 13:55:58 +02:00
Autechre d3a55ef732 Merge pull request #10637 from meleu/patch-11
cheevos: option to start a session with all achievements active
2020-05-15 22:31:09 +02:00
meleu 69949187f6 add cheevos_start_active option 2020-05-15 14:49:47 -03:00
jdgleaver b53f635441 (Ozone) Fix sidebar playlist sort order when 'Truncate Playlist Names' is enabled 2020-05-15 17:26:36 +01:00
jdgleaver 9d5a54ced4 (RGUI) Enable custom wallpaper when menu size is reduced at low resolutions 2020-05-14 14:18:53 +01:00
jdgleaver eff8c31ffd (XMB/GLUI) Limit tab switch rate when input repeat is active 2020-05-14 11:24:32 +01:00
Joan Coll Cerdán 718e9eaf37
Comply with the C89 standard 2020-05-14 00:32:52 +02:00
Joan Coll Cerdán fe42f6bb73 Changed the order of shader preset directories.
The Menu Config directory now takes precedence over the Video Shader
directory for the storage of shader preset overrides. With this, all
user overrides are grouped by default under the same path.
2020-05-13 19:54:08 +02:00
Joan Coll Cerdán f1f248dd11 Add fallback directories to shader presets.
Improves the management of shader presets by using the Menu Config directory
and the directory of the configuration file as alternate fallback directories
whenever the Video Shader directory is not writable.
2020-05-13 19:54:08 +02:00
twinaphex cc50eaa88f Cleanup 2020-05-12 14:02:10 +02:00
jdgleaver 43b890a269 (GLUI) Desktop View: When scrolling playlists, show last selected thumbnails while waiting for next entry to load 2020-05-11 16:32:49 +01: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 dd721def41 (Qt) Cleanups 2020-05-11 17:07:37 +02:00
jdgleaver 26c01dd34c (RGUI) Add option to always stretch menu to fill the screen 2020-05-11 11:38:24 +01:00
twinaphex 39dbfd1db4 Remove unused menu_content.h 2020-05-11 02:32:45 +02:00
twinaphex 10e6ea21a3 Put this behind HAVE_ACCESSIBILITY ifdef 2020-05-10 07:17:15 +02:00
twinaphex ba8a07a2b6 (Menu driver) Turn some functions into static functions 2020-05-10 07:14:29 +02:00
twinaphex 1e9b94ded4 Get rid of hash 2020-05-10 05:05:43 +02:00
Twinaphex 2f3ef75bf6 Remove some unused variables and some style nits 2020-05-10 01:10:45 +02:00
jdgleaver 63644ac761 (GLUI) Add desktop-style playlist view mode 2020-05-09 14:53:52 +01:00
Weedy Weed Smoker 7d849ac8fb
International: Add all the languages from Crowdin… 2020-05-02 13:29:17 +07:00
jdgleaver 3f2ba2e791 Add option to mute audio when fast-forwarding 2020-05-01 12:19:31 +01:00
jdgleaver 19a8a815f0 (Ozone) Hide thumbnail button hints when viewing file browser lists 2020-04-30 09:57:44 +01:00
jdgleaver 0b294faa71 (Ozone) Refactor footer display 2020-04-29 17:54:49 +01:00
jdgleaver 30555f8132 (Ozone) Enable second thumbnail/content metadata toggle using RetroPad 'select' 2020-04-29 12:29:42 +01:00
jdgleaver 58e6ca9ad4 (Ozone) Fix undefined behaviour when using touch screen to change input remaps 2020-04-28 10:46:19 +01:00
jdgleaver 9eb8472805 Only write config files to disk when parameters change 2020-04-27 17:06:35 +01:00
jdgleaver fa9290cf1e Add optional playlist compression 2020-04-21 16:44:26 +01:00
jdgleaver 0d1fd657ab Add optional save (SRAM) file compression 2020-04-20 12:48:40 +01:00
jdgleaver b1503bc7c8 AI Service Menu - Hide redundant entries when service is disabled 2020-04-18 14:06:35 +01:00
Autechre 018a0baed6
Merge pull request #10401 from libretro/accessibility_menu_fixes
Accessibility menu fixes
2020-04-17 03:19:17 +02:00
jdgleaver 233456df47 Add optional save state compression 2020-04-15 15:48:41 +01:00
Barry Rowe 289be872f3 Added in auto-translate support, fixes for ozone and glui accessibility, and support for nvda and SAPI narration. 2020-04-13 17:46:08 -07:00
jdgleaver 4dec80e9e3 Style nits 2020-04-11 13:00:24 +01:00
jdgleaver 223cae66c1 (Playlist Management) Add optional per-playlist alphabetical sorting 2020-04-10 17:07:49 +01:00
Autechre df1fefd775
Merge pull request #10421 from jdgleaver/playlist-fixes
Improve handling of 'broken' playlists
2020-04-09 14:17:01 +02:00
Autechre d521945479
Merge pull request #10425 from jdgleaver/ozone-font-alignemnt
(Ozone) Enable proper vertical text alignment + thumbnail display improvements
2020-04-09 14:16:46 +02:00
jdgleaver 887999904b (Ozone) Pointer input fixes 2020-04-08 17:09:38 +01:00
jdgleaver 545e5fd6ab (Ozone) Enable proper vertical text alignment + thumbnail display improvements 2020-04-08 15:15:39 +01:00
jdgleaver ad8a1174f7 Improve handling of 'broken' playlists 2020-04-07 12:00:16 +01:00
jdgleaver a9c496e01f (RGUI) Enable automatic menu size reduction when running at low resolutions (down to 256x192) 2020-04-02 16:54:39 +01:00
jdgleaver 73bcd7a692 Enable correct vertical alignment of text (+ font rendering fixes) 2020-03-31 16:55:22 +01:00
Vladimir Serbinenko 2fb7ba22e5 PSL1GHT port
Working:

* packaging
* running cores
* switching cores
* gamepad including axis
* rgui
* audio
* video

Not working:

* OSD
* menus other than rgui
* shaders
* Graphical acceleration
* Proper signing
* ODE build
* rumble
* keyboard
* mouse

Not tested:

* A lot
2020-03-30 05:39:22 +02:00
valadaa48 6e4228b054 Add drm_go2_ctx for odroidgo2
- Revert odroidgo changes to drm_ctx
- Introduce new drm_go2_ctx specifically for odroidgo2 (and libgo2)
- Add hw_scaling option to mitigate builtin gl scaling/filtering and to
use libgo2 and rga's hw scaling and bicubic filtering via librga. The
quality of the image is improved by this and should be a bit faster.

Credits to CrashOverride for the initial libgo2 port and
commit to RA. And to natinusala for the initial cleanup/commit in the original
drm_ctx driver. NOirBRight for finding this setting and testing.
2020-03-28 03:30:28 +00:00
twinaphex 4fd3cac319 (Menu) remove ident 2020-03-28 01:59:15 +01:00
twinaphex 66eed86ccf Get rid of the hash generation in menu_cbs.c 2020-03-27 19:09:50 +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 49e584c6f6 (Deferred push) Remove hashes 2020-03-27 18:00:26 +01:00