Commit Graph

1991 Commits

Author SHA1 Message Date
twinaphex
c8f92d2247 Revert "(UWP/Small stack size platforms) UWP is short on stack size, these"
This reverts commit 0a3306a7b4.
2020-11-18 16:48:31 +01:00
twinaphex
0a3306a7b4 (UWP/Small stack size platforms) UWP is short on stack size, these
big local char array variables were causing crashes - put them on
heap
2020-11-17 07:17:32 +01:00
jdgleaver
54ce950591 Fix database scans 2020-11-09 14:31:53 +00:00
twinaphex
e58cb34970 Remove ifdef and make this the default for now - and add TODO/FIXME note 2020-11-08 18:31:12 +01:00
unknown
be6d1841d5 fix segmentation fault on PS3 when scan directory 2020-11-08 16:06:00 +01:00
unknown
26559d635e fix segmentation faulf on PS3 when Load State 2020-11-07 01:42:58 +01:00
twinaphex
44b7234756 Move cheat_manager and state_manager to root folder 2020-10-15 05:29:20 +02:00
Tony Jansson
6918b4b5cb Savestate logging cleanup 2020-10-15 03:54:53 +03:00
twinaphex
81fc3a1361 Cleanups 2020-10-10 18:10:22 +02:00
twinaphex
cb45f08db8 Cleanups 2020-10-10 18:02:02 +02:00
twinaphex
e16dd186b7 Cleanups 2020-10-10 17:58:32 +02:00
twinaphex
be47a72af5 Cleanups 2020-10-10 17:55:06 +02:00
twinaphex
c744baeb89 Add ctype variants to stdstring and use it in RA 2020-09-27 22:15:32 +02:00
twinaphex
8ff4134a76 Cleanup 2020-09-20 00:17:11 +02:00
jdgleaver
8a5ebbf24d Add option to scale overlays automatically (with aspect ratio correction) 2020-09-17 17:23:07 +01:00
Justin Weiss
fb9aa961b7 [3DS] Increase file buffer size and savestate chunk size 2020-09-09 18:29:47 -07:00
jdgleaver
b8ea4fd54e Overlay configuration improvements 2020-09-08 13:37:51 +01:00
twinaphex
400df12c1e Start using error_enum 2020-09-03 04:10:37 +02:00
Autechre
b7fff53d16
Merge pull request #11272 from jdgleaver/play-feature-delivery-switch
(Android/Play Store Builds) Add option to switch all installed cores to Play Store versions
2020-09-03 01:55:39 +02:00
twinaphex
e09f1d65b5 Cleanups 2020-09-03 00:44:22 +02:00
twinaphex
e2bd3d75bc Cleanup 2020-09-03 00:38:19 +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
Autechre
6fe1f97fc8
Merge pull request #11255 from jdgleaver/play-feature-delivery
(Android/Play Store) Add frontend support for core installation via Play Feature Delivery
2020-08-29 04:31:20 +02:00
twinaphex
fa63ada1d3 Cleanup 2020-08-29 02:52:55 +02:00
twinaphex
c2565cf87f Cleanups 2020-08-29 02:42:13 +02:00
twinaphex
cae5328294 (task_autodetect_blissbox) Cleanups 2020-08-29 02:37:05 +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
twinaphex
3f19af45cd Put back early return 2020-08-27 17:29:39 +02:00
twinaphex
8b1338dbb2 (task_autodetect.c) Cleanups 2020-08-27 16:36:34 +02:00
twinaphex
5e60556f97 Use config_get_entry instead of config_get_array to prevent
unnecessary string copying
2020-08-27 16:28:19 +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
twinaphex
143224e09a (task_database_cue) Don't use malloc 2020-08-26 19:46:13 +02:00
twinaphex
fe5307c4ac Use string_split_noalloc instead of string_split 2020-08-26 12:54:51 +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
twinaphex
27b7b3dcfe Cleanup 2020-08-24 14:35:25 +02:00
twinaphex
cd6e1cf3fa (libretro-common) string_list - add string_list_initialize
and string_list_deinitialize - takes a pointer to initialize
and deinitialize a string list, but importantly does not
implicitly allocate and deallocate the string list pointer
itself. This way, string lists can be put on the stack instead
of always implicitly being put on heap - the struct itself is
small enough to fit on stack
2020-08-24 00:43:55 +02:00
Jamiras
2f69d2d4ed eliminate exposed variables for tracking hardcore 2020-08-22 12:18:12 -06:00
twinaphex
4ec216dc0b Get rid of file_path_str 2020-08-22 01:06:10 +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
624a70f062 More strings being moved from heap to stack 2020-08-18 14:47:57 +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
fe28f17eeb Cleanup 2020-08-18 10:57:42 +02:00
twinaphex
d29e0a9969 (Task content) Don't put string variables on heap 2020-08-18 10:56:54 +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
87c0fb6323 Struct reordering 2020-08-14 18:58:09 +02:00
twinaphex
1aceac6edb Struct reorders 2020-08-14 18:51:50 +02:00
twinaphex
8a3ef513a3 Struct reordering 2020-08-14 18:43:11 +02:00
twinaphex
b6228729b6 More struct alignment 2020-08-14 17:11:18 +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
jdgleaver
b19eb64329 (m3u_file) Replace static entries array with dynamic array via RBUF library 2020-08-13 17:25:45 +01:00
twinaphex
d3b234f404 Buildfix 2020-08-11 09:03:59 +02:00
twinaphex
ac083e69ba Cleanups 2020-08-11 06:46:45 +02:00
jdgleaver
535d73cf37 Ensure correct directory is used when saving autoconfig profiles 2020-08-03 13:10:00 +01:00
twinaphex
4ee45304b0 More warning fixes 2020-08-01 18:14:48 +02:00
twinaphex
f162875583 (PSP scanning) Add more PSP serials 2020-07-29 15:41:05 +02:00
twinaphex
784e1187e1 (PSP scanning) Regression fix - should scan games with serial ULU again 2020-07-29 15:29:51 +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
twinaphex
d72b118a2d Make char array big enough 2020-07-23 05:21:32 +02:00
jdgleaver
8e2901d23a Minor optimisations 2020-07-20 13:24:18 +01:00
jdgleaver
9b1edc5eee Input autoconfig fixes/improvements 2020-07-20 12:34:29 +01:00
twinaphex
6be4adffdf Silence warning with --disable-menu 2020-07-20 02:04:43 +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
jdgleaver
75b3b5350c Add 'Notification Visibility' menu 2020-07-16 16:32:01 +01:00
twinaphex
324eb4f098 (UWP) Buildfix 2020-07-16 11:49:15 +02:00
jdgleaver
84a71ea133 Rewrite 'task_autodetect.c': Ensure thread safety + clean-ups/rationalisation 2020-07-14 17:46:58 +01:00
Autechre
84ca79fcc1
Merge pull request #11006 from Jamiras/save_task_wait
only wait for save task to complete
2020-07-12 19:14:04 +02:00
twinaphex
5cdda30d5a Do away with HAVE_MENU ifdef 2020-07-12 15:48:21 +02:00
twinaphex
6248b1f30a (task_content.c) Cut down on some code duplication 2020-07-12 15:45:44 +02:00
twinaphex
2f8f783d5c Small cleanup in content_load 2020-07-11 16:35:12 +02:00
twinaphex
2dd5ea66a1 Simplify content_file_init_subsystem 2020-07-11 16:24:10 +02:00
twinaphex
40cf0e13e7 (Load content) Don't try to log every single argument by default 2020-07-11 16:11:52 +02:00
twinaphex
8436b7fc6a Cleanup command_evnt_cmd_exec 2020-07-11 16:00:42 +02:00
Jamiras
9aa42c9d5e only wait for save task to complete 2020-07-10 20:18:03 -06:00
jdgleaver
506aa0a36c Add optional widget-based 'load content' launch feedback animation 2020-07-09 13:05:28 +01:00
twinaphex
2bdec2d0b3 Move content_state global state to rarch_state 2020-07-08 11:48:33 +02: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
6e59d52184 Cleanups/comments 2020-07-07 05:58:07 +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
7862166ed2 Add back HAVE_SCREENSHOTS define from SSNES days 2020-07-01 17:47:13 +02:00
twinaphex
223d76680a Add HAVE_CHEATS ifdef 2020-06-30 19:35:55 +02:00
twinaphex
2c62a10d6c - Fix codepaths for compiling without HAVE_RWAV
- Add back HAVE_BSV_MOVIE
2020-06-30 18:08:49 +02:00
twinaphex
b77dd9cfe4 Add HAVE_PATCH ifdef; add patch switch support to qb 2020-06-30 15:54:31 +02:00
twinaphex
fded8ab357 Fix issues pointed out by static code analysis 2020-06-29 19:15:07 +02:00
twinaphex
b34b29a22f Replace calloc with malloc 2020-06-29 05:18:54 +02:00
Autechre
10ddb274bc
Merge pull request #10866 from parport0/master
Add a bluetooth driver
2020-06-27 16:46:11 +02:00
twinaphex
408f40f413 Cut down on some callocs 2020-06-27 16:36:08 +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
jdgleaver
5aeb479a31 DISABLE_NETWORKING buildfix 2020-06-26 18:09:08 +01:00
jdgleaver
0fcfb3deda Refactor playlist struct configuration 2020-06-26 15:40:19 +01:00
jdgleaver
b6364407fd Optimise parsing of configuration files 2020-06-25 15:15:08 +01:00
twinaphex
de36ff20fb Create string_ends_with_size 2020-06-25 14:38:06 +02:00
twinaphex
601a73fa8b Use string_starts_with_size where possible - avoids the strlen 2020-06-25 12:51:04 +02:00
twinaphex
1c5276749a Turn calloc into malloc 2020-06-24 19:35:07 +02:00
twinaphex
f5940ed188 Use malloc instead of calloc where possible 2020-06-24 19:27:02 +02:00
parport0
23c08ad9b0 Add bluetoothctl bluetooth driver 2020-06-24 12:53:27 +03:00
Jamiras
6e7eeb1d8f prevent NULL reference exception when scanning some directories 2020-06-21 22:35:35 -06:00
jdgleaver
42537a67e1 Fix display of core-generated messages when load content fails 2020-06-19 12:22:37 +01:00
jdgleaver
80f36e16d0 Add option to selectively 'lock' (prevent modification of) installed cores 2020-06-18 17:36:33 +01:00
jdgleaver
2782b87267 Add option to automatically backup cores when updating 2020-06-16 11:12:22 +01:00
twinaphex
b74b8b6a6c Move launched_from_cli to global state 2020-06-13 08:19:49 +02:00
twinaphex
6690790dae Fix --disable-menu 2020-06-12 22:24:39 +02:00
jdgleaver
6f51ef5966 (Playlist management tasks) Fix potential heap-use-after-free errors 2020-06-12 17:40:24 +01:00
jdgleaver
1cdd3c32c0 (Manual Content Scanner) Add option to disable recursive scanning 2020-06-12 10:00:38 +01:00
parport0
a4590acde9 Add options for moving the on-screen overlay 2020-06-11 15:39:23 +03:00
twinaphex
30bfca0d71 (task database) Optimize extension_to_file_type 2020-06-11 02:53:31 +02:00
twinaphex
a2184bcd07 (task database) optimize detect_psp_game 2020-06-11 02:39:07 +02:00
twinaphex
d714520c64 (Autodetect) Cleanups 2020-06-11 02:29:32 +02:00
twinaphex
4f3059c608 Cleanups 2020-06-10 16:33:44 +02:00
twinaphex
8eee7b3bb9 (Task database) Cleanups 2020-06-10 16:24:52 +02:00
twinaphex
c31bfb4dc8 (task_pl_thumbnail_download) Simplifications 2020-06-08 21:20:07 +02:00
twinaphex
a88bf59b27 Update log messages 2020-06-08 20:31:08 +02:00
twinaphex
f64da5cb1e Update more log messages 2020-06-08 19:11:43 +02:00
twinaphex
aed8b7943d Cleanup log messages 2020-06-08 18:58:18 +02:00
twinaphex
c2bc40bbc3 Update SRAM log messages 2020-06-08 17:57:40 +02:00
twinaphex
ce95dcaf79 (task_pl_thumbnail_download) Some string_is__equal optimizations 2020-06-08 07:31:58 +02:00
twinaphex
876419294d (gfx widgets) Pass more state around 2020-06-08 02:54:01 +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
aae94efcfb Cleanup 2020-06-06 22:46:05 +02:00
jdgleaver
445921ac5d Core info search optimisations + improved core selection logic + clean-ups 2020-06-06 13:59:28 +01:00
twinaphex
c74d145167 Hose this out of HAVE_NETWORKING ifdef 2020-06-04 23:41:13 +02:00
Autechre
30a4610b12
Merge pull request #10788 from jdgleaver/core-backup
Add option to backup/restore installed cores
2020-06-04 16:30:55 +02:00
twinaphex
9fda2bdebd Add TODO/FIXME comments 2020-06-04 14:09:45 +02:00
jdgleaver
0a33e562f4 Add option to backup/restore installed cores 2020-06-04 12:20:58 +01:00
twinaphex
6083450d4e Ensure save states are correctly flushed to disk when quitting RetroArch (fixes broken save states when exiting RetroArch - without first closing content - with 'Auto Save State' enabled) 2020-06-01 17:39:52 +02:00
twinaphex
00167caf54 Use localized strings 2020-05-29 12:54:09 +02:00
twinaphex
9f9710beb6 Fix --disable-threads 2020-05-29 11:16:38 +02:00
twinaphex
6cc47f8ee0 task_pl_thumbnail_download - replace many subsequent strlcat calls
with one snprintf
2020-05-29 10:30:56 +02:00
twinaphex
a50fd86f3e Add global state warnings 2020-05-29 06:11:07 +02:00
twinaphex
3af84d73e9 Move menu_content_environment_get to retroarch.c 2020-05-29 05:28:29 +02:00
jdgleaver
044bd03a13 More core updater improvements 2020-05-28 17:48:18 +01:00
twinaphex
421bcb07d3 (task_audio_mixer.c) Optimize further 2020-05-22 22:00:25 +02: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
jdgleaver
d24498bdf1 Image file type detection fixes/optimisations 2020-05-22 16:57:37 +01:00
jdgleaver
955e25fc39 (On Demand Thumbnails) Fix heap-use-after-free error 2020-05-22 11:07:34 +01:00
twinaphex
6dc758a080 Move cheevos-new to cheevos/ 2020-05-21 23:23:01 +02:00
twinaphex
03ea12d334 Move discord files to network/ 2020-05-20 15:27:27 +02:00
Jamiras
6946f878ef disable hardcore when cheats are enabled 2020-05-16 08:01:24 -06:00
jdgleaver
3a3c4f60bf (task_screenshot) Fix heap-use-after-free error when widgets are disabled 2020-04-30 11:25:53 +01:00
Autechre
89c405b196
Merge pull request #10487 from jdgleaver/playlist-compression
Add optional playlist compression
2020-04-23 13:30:58 +02:00
jdgleaver
fa9290cf1e Add optional playlist compression 2020-04-21 16:44:26 +01:00
Vladimir Serbinenko
1fcdddf579 Remove manual MSB_FIRST definitions and switch to retro_endianness.h 2020-04-21 04:16:55 +02:00
jdgleaver
0d1fd657ab Add optional save (SRAM) file compression 2020-04-20 12:48:40 +01:00