Commit Graph

58147 Commits

Author SHA1 Message Date
twinaphex
e88fad00a5 copy_core_to_temp_file - get rid of a bunch of strcat_alloc calls,
instead just use fill_pathname_join once and have retroarch_tmp_path
be a fixed stack array variable
2021-04-20 21:29:02 +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
4c4d5e5837 (core_info.c) Cleanups 2021-04-20 19:46:11 +02:00
twinaphex
769fb7cd02 Cleanup 2021-04-20 19:35:59 +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
Autechre
32b626704e
Merge pull request #12286 from jdgleaver/file-browser-search-filter
Enhanced 'Load Content' file browser search functionality
2021-04-20 18:14:05 +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
LazyFunker
8ff0430370 Disable mipmap generation for UWP 2021-04-20 10:29:17 +02:00
Autechre
7317b6b98e
Merge pull request #12285 from alphanu1/master
Fixed CRTSwitchRes framebuffer bug
2021-04-20 00:21:17 +02:00
Ben
799fcdb5e0 Fixed CRTSwitchRes framebuffer bug 2021-04-19 07:38:38 -07:00
Autechre
6b021f8d14
Merge pull request #12283 from libretro/revert-12011-video-resolution
Revert "Screen Resolution option fixes"
2021-04-17 19:33:37 +02:00
Autechre
a56fcfb24a
Revert "Screen Resolution option fixes" 2021-04-17 19:33:23 +02:00
twinaphex
1811bd6885 Fix issue in https://github.com/libretro/neocd_libretro/issues/58 2021-04-16 19:34:06 +02:00
twinaphex
46a37b9bd9 Silence some warnings 2021-04-16 17:55:19 +02:00
Autechre
3fcd645a73
Merge pull request #12277 from devnexen/arm64_build_fix_proposal
run fast mode disable for 64 bits invalid instructions.
2021-04-16 17:35:18 +02:00
David CARLIER
7cbee3dc8f run fast mode disable for 64 bits invalid instructions. 2021-04-16 08:33:01 +01:00
twinaphex
9812f368e7 Move more of these static variables out of retroarch_data.h 2021-04-15 19:51:40 +02:00
twinaphex
0f4dbcfc53 move arrays over to only function that uses them 2021-04-15 19:51:40 +02:00
Autechre
fb79927c05
Merge pull request #12273 from jdgleaver/font-texture-bleed-fix
(freetype/stb_unicode/bitmapfont) Prevent texture bleed when rendering text at non-integer scales
2021-04-15 19:44:57 +02:00
jdgleaver
fc05c0805b (freetype/stb_unicode/bitmapfont) Prevent texture bleed when rendering text at non-integer scales 2021-04-15 17:24:32 +01:00
Autechre
b69e023736
Merge pull request #12270 from jdgleaver/rgui-transparency
(RGUI) Add option to disable menu transparency
2021-04-15 16:28:43 +02:00
jdgleaver
54c45bd54e (RGUI) Add option to disable menu transparency 2021-04-15 12:32:39 +01:00
twinaphex
67c06d17bb command_event_runtime_log_deinit - put verbosity_is_enabled check around
this
2021-04-15 08:08:08 +02:00
twinaphex
b91a1f4788 Silence warning 2021-04-15 07:39:25 +02:00
twinaphex
9f902c8bd4 input_joypad_analog_button - only call fabs when input value is not 0 2021-04-15 07:27:43 +02:00
twinaphex
52454591aa Small cleanup to input_joypad_analog_button 2021-04-15 07:22:59 +02:00
twinaphex
cfe9d60f51 Get rid of button_is_pressed 2021-04-15 06:55:35 +02:00
Autechre
36bf1ad112
Merge pull request #12268 from digitalisland-nino/dracula_ozone
(ozone) new theme: Dracula
2021-04-15 02:00:07 +02: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
Autechre
58080d6157
Merge pull request #12267 from Jamiras/cheevos_patch_addr_no_ach
allow rcheevos_patch_address to be called on game without achievements
2021-04-14 17:43:18 +02:00
digitalisland-nino
45bf867d38 Copied RGUI Dracula theme localized strings to new Ozone Dracula theme. 2021-04-14 16:49:59 +02:00
Autechre
eb578557c0
Update CHANGES.md 2021-04-14 16:32:08 +02:00
Jamiras
299a471af2 allow rcheevos_patch_address to be called on game without achievements 2021-04-14 08:20:20 -06:00
twinaphex
4ec8b82388 Cleanups 2021-04-14 03:46:50 +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
Autechre
b5d983cddf
Merge pull request #12264 from jdgleaver/screensaver-animation
(XMB/GLUI/Ozone) Add optional menu screensaver animations
2021-04-13 17:48:53 +02:00
twinaphex
65c01b35ec Go back to Discord RPC I/O Thread codepath for now - the non-I/O
thread codepath seems to be unreliable for now
2021-04-13 16:44:46 +02:00
jdgleaver
a6cffc0e29 (XMB/GLUI/Ozone) Add optional menu screensaver animations 2021-04-13 15:36:57 +01:00
alphanu1
5658ea7047
Multi monitor fix. (#12260)
This fix allows for the use of multi monitor when using CRTSwitchres. It fixes a bug that causes a crash.
Delete function will no longer try to delete resolutions from outputs that have not had resolutions added.
2021-04-12 14:55:33 +02:00
twinaphex
7f3b9e8a89 Attempt to fix max problems on all platforms 2021-04-12 06:51:01 +02:00
twinaphex
7fe2ad81a0 HAVE_CLIP_WINDOW - don't define for this anything below MSVC 2005 2021-04-12 05:38:43 +02:00
twinaphex
dcc266df12 (MSVC) Buildfix 2021-04-12 05:25:30 +02:00
twinaphex
d07043fe26 Reduce size of local char variables 2021-04-11 19:28:59 +02:00
twinaphex
2f0f724813 Use more path_basename_nocompression where we don't have to deal with
archive files
2021-04-11 18:46:50 +02:00
twinaphex
fc5b557a10 use fill_pathname_join_concat if we want to set a filename path
with extension instead of doing fill_pathname_join and then
fill_pathname_noext
2021-04-11 18:37:42 +02:00
twinaphex
116bf8058a Don't need this variable in this loop 2021-04-11 18:19:51 +02:00