Commit Graph

553 Commits

Author SHA1 Message Date
twinaphex 2bdec2d0b3 Move content_state global state to rarch_state 2020-07-08 11:48:33 +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 b77dd9cfe4 Add HAVE_PATCH ifdef; add patch switch support to qb 2020-06-30 15:54:31 +02:00
jdgleaver 0fcfb3deda Refactor playlist struct configuration 2020-06-26 15:40:19 +01:00
twinaphex 1c5276749a Turn calloc into malloc 2020-06-24 19:35:07 +02:00
jdgleaver 42537a67e1 Fix display of core-generated messages when load content fails 2020-06-19 12:22:37 +01:00
twinaphex b74b8b6a6c Move launched_from_cli to global state 2020-06-13 08:19:49 +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
jdgleaver 445921ac5d Core info search optimisations + improved core selection logic + clean-ups 2020-06-06 13:59:28 +01:00
twinaphex 9fda2bdebd Add TODO/FIXME comments 2020-06-04 14:09:45 +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
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 fa9290cf1e Add optional playlist compression 2020-04-21 16:44:26 +01:00
twinaphex 7fb7d4e74c Buildfix 2020-03-12 08:05:44 +01:00
twinaphex 649aee49ba (task_content.c) Cleanups 2020-03-12 07:29:04 +01:00
twinaphex 67ea016c09 (task_content.c) cleanups 2020-03-12 07:14:44 +01:00
twinaphex f13a4b10ee (task_content.c) Move global variables to struct 2020-03-12 06:45:17 +01:00
jdgleaver 7873b5f044 (QT) Populate 'db_name' and 'crc32' fields when adding entries to content history 2020-03-06 14:00:04 +00:00
twinaphex 0ef1b342e4 settings Cleanups 2020-03-02 20:10:24 +01:00
twinaphex cc50cefd30 Cleanups 2020-03-01 21:58:09 +01:00
twinaphex 7c7d0f596a HAVE_MENU_WIDGETS now decoupled from HAVE_MENU 2020-02-17 21:28:42 +01:00
twinaphex b00bf17153 Move menu_widgets to gfx/ and call it gfx_widgets 2020-02-17 01:54:07 +01:00
twinaphex 5bb084c32b Cleanups 2020-02-02 03:00:51 +01:00
twinaphex 8eca1a0459 Refactor this 2020-02-02 02:16:19 +01:00
twinaphex d4a1f2ef85 Cleanups 2020-01-20 05:06:51 +01:00
twinaphex 481f31fe8f Turn task_patch.c into separately compiled file 2020-01-20 04:31:32 +01:00
twinaphex 9c6c10da22 (Playlist) Get rid of settings_t dependency 2020-01-04 12:04:00 +01:00
Jamiras 1f97d31f2a pause hardcore if core doesn't support achievements 2019-11-27 07:38:41 -07:00
Rinnegatamante eed65a64b2 Removing no more required video context capabilities check at content_load time. 2019-10-04 19:25:05 +02:00
twinaphex c69c972942 (Menu) Cleanups 2019-08-16 15:17:33 +02:00
Brad Parker 3432f3b852 cdrom: initialize all buffers used for drive paths, make sure to null-terminate filled paths in all cases 2019-08-12 20:42:40 -04:00
Brad Parker 7479245875 opengl: loop through highest available versions to find a working one, only do hwapi check on glx/wgl for now 2019-08-05 10:46:17 -04:00
jdgleaver 9617856c5c Remove favourites init/deinit from command event, and replace with seperate functions in retroarch.h/.c 2019-07-31 11:32:19 +01:00
jdgleaver 5220dc9084 Add independent 'favourites' playlist size setting 2019-07-30 17:13:04 +01:00
Twinaphex 52ef1af14e
Merge pull request #9137 from LazyBumHorse/realpath
replace realpath() by custom code which does not resolve symlinks
2019-07-24 22:20:38 +02:00
Brad Parker 61ab9249fc add "required hw api" to core info files, block content loading if core is incompatible with current graphics API/version 2019-07-23 22:44:45 -04:00
twinaphex ba79947e51 This should prevent flushing of stack issues 2019-07-22 22:40:34 +02:00
twinaphex e30a0631d9 Change to C comment 2019-07-22 22:07:22 +02:00
LazyBumHorse 6285c05948 add resolve_symlinks parameter to path_resolve_realpath() and cleanup playlist_resolve_path() 2019-07-22 13:44:35 +02:00
Brad Parker 41b3adc8a4 cdrom: always request one sector at a time 2019-07-21 12:06:10 -04:00
orbea 2aa9c3e72e Correctly fixes --disable-menu.
Broken in d2893d991c
2019-07-21 00:05:59 -07:00
twinaphex cd90760b7b Buildfix for non-HAVE_MENU targets 2019-07-21 01:13:24 +02:00
twinaphex b6b22a9a32 More shader refactors - make sure we can compile entirely
without shader support if HAVE_CG, HAVE_GLSL, HAVE_SLANG
and HAVE_HLSL are all not defined
2019-07-21 00:34:07 +02:00
twinaphex d905986a52 Rename functions - change rarch_ prefix to retroarch_ 2019-07-20 12:43:43 +02:00
Yoshi Sugawara 8862e8de9f [iOS] show quickmenu after loading content from playlist (#9118) 2019-07-17 17:08:23 -10:00
twinaphex d80b85b158 Cleanups 2019-07-14 18:52:51 +02:00
twinaphex 9cc055bf93 Not necessary for content_ctx to be passed either 2019-07-14 18:26:18 +02:00
twinaphex 58417e56b7 Update task_push_to_history_list 2019-07-14 18:23:46 +02:00
twinaphex 484b2bc944 Split up task_load_content into two - one does the actual file
loading, the other simply pushes an entry to the history playlist
2019-07-14 18:21:46 +02:00
twinaphex 8a70f3f4cb Cleanup 2019-07-14 15:35:49 +02:00
Brad Parker cf12a10ba0 cdrom: add CDROM tag to log prints 2019-07-10 20:56:23 -04:00
twinaphex 84bf51acee Take out HAVE_CDROM include ut of vfs/vfs_implementation.h 2019-07-10 22:53:38 +02:00
Brad Parker 119245e88b cdrom: add load disc callback 2019-07-09 11:17:17 -04:00
Brad Parker 15d97dbaf3 cdrom: add disc dump option 2019-07-08 16:06:35 -04:00
LazyBumHorse f5497a4249 fix some bugs found through Clang Static Analyzer:
- task_content.c, load_content_from_compressed_archive: fix use after free
 - platform_win32/uwp: fix frontend_..._get_powerstate never returning FRONTEND_POWERSTATE_NONE
 - platform_win32/uwp: fix whitespace
 - cheevos.c: fix potential use after free in a loop, just to be save
2019-07-04 21:15:19 +02:00
twinaphex f4bf218f35 (Menu) We need to tell rarch_menu_running_finished whether we want
to exit RetroArch or not - to avoid certain crashes when trying to
access the settings pointer - which should already be freed at this
point
2019-06-30 11:23:18 +02:00
twinaphex 3b634b64fa Merge dirs.c into paths.c 2019-06-26 07:23:32 +02:00
Twinaphex 8a8b690f85 Possible misuse of comma operator here 2019-06-22 14:25:32 +02:00
Twinaphex 9180cc5ba2 Cleanup some warnings 2019-06-22 13:44:10 +02:00
radius d865c5e4a6 add some copyright on files I contributed considerably just in case 2019-06-20 05:45:17 +02:00
twinaphex 280cec702b video_driver_supports_viewport_read should only check if
taking screenshots with the GPU backbuffer is supported,
move outside settings check to callee
2019-06-06 15:06:27 +02:00
twinaphex 717c5c1e2f Delayed CRC calculation for need_fullpath ROM loading (unpatched) -
we can get rid of the GEKKO ifdef for Gamecube/Wii since CRC
calculation for these kind of games will now be delayed until
content_get_rom_crc is called the first time, which typically only
happens during netplay
2019-06-03 18:51:04 +02:00
twinaphex 16f830e080 (task content) Cleanups 2019-05-31 09:20:37 +02:00
meleu 694bac565f do not use old cheevos implementation 2019-05-29 14:26:22 -03:00
twinaphex 6c5d08d893 content_file_init_extract - cleanup 2019-05-29 16:35:51 +02:00
radius 25c99fd83e remove log spam 2019-05-27 01:41:09 +02:00
radius 86960cf9dd preset refinement 2019-05-26 22:39:46 +02:00
twinaphex 2db271d954 Remove TODO 2019-05-23 12:43:56 +02:00
twinaphex 96cfe3396c (task_content.c) Cleanups 2019-05-23 11:48:32 +02:00
twinaphex 8d54a56371 (task_content.c) Cleanups 2019-05-22 10:37:55 +02:00
twinaphex bae877a465 (task_content.c) Cleanups 2019-05-22 10:27:46 +02:00
twinaphex ab8f0e73b7 Cleanups 2019-05-22 10:23:34 +02:00
twinaphex 138a070ceb (task_content.c) Cleanups - extraction error message was not being
printed
2019-05-22 04:24:44 +02:00
twinaphex 57c5b629a6 Simplify this 2019-05-21 04:55:29 +02:00
twinaphex 0302a8812a content_file_load - play it safe now - only use strdup directly
for strings that don't require formatting
2019-05-12 19:28:51 +02:00
twinaphex b1a3efdfac (task_content.c) Fixup function signature 2019-05-12 19:18:37 +02:00
twinaphex 1b7b9e66b0 Revert "task_content.c - some cleanups - save up on some memory allocations"
This reverts commit df9192e30e.
2019-05-12 19:17:44 +02:00
twinaphex bafc938198 content_load - get rid of error goto label 2019-05-12 19:14:39 +02:00
twinaphex df9192e30e task_content.c - some cleanups - save up on some memory allocations
for strings
2019-05-12 19:06:07 +02:00
meleu 22a956f663 replace 'cheevos_rcheevos_enable' by 'cheevos_old_enable' 2019-05-04 12:52:49 -03:00
twinaphex 5bd0fdcc13 Cleanups 2019-04-30 13:51:32 +02:00
twinaphex b43b3e2bb0 (UWP/WinRT)
- Disable VFS for now - seems to be very problematic right now
- Move uwp_is_path_accessible_using_standard_io to file_path.c
since it seems to have no VFS dependencies, and rename it to
is_path_accessible_using_standard_io so it could possibly be later
used for other platforms as well that also have sandboxed filesystems
2019-04-27 09:20:19 +02:00
twinaphex 7372bafb44 Remove RARCH_CTL_SET_LIBRETRO_PATH 2019-04-21 06:03:02 +02:00
twinaphex 81d22c63de (task_content) Some simplifications 2019-04-21 05:33:41 +02:00
meleu c2364096f3
Merge branch 'master' into runtime_rcheevos_switch 2019-04-19 21:50:00 -03:00
bparker06 15c0191f08
Update task_content.c 2019-04-12 13:04:59 -04:00
Brad Parker f7b0c0947c add subsystem_name (friendly name) to history playlist, make playlist_entry struct public to simplify function parameters 2019-04-12 12:50:27 -04:00
radius d08779adf0 [subsystem] add a function to get the friendly name 2019-04-11 18:51:27 -05:00
Brad Parker 230c64ba4b add subsystem support for playlists, only missing the content load portion 2019-04-11 00:09:13 -04:00
jdgleaver 2c65068be0 More 'Log to File' Additions:
- Add optional timestamped log files

- Handle errors if log file cannot be opened

- Android: flush log file immediately

- 3DS: log to file tested and fully working

- Default log paths added for all platforms
2019-03-25 17:22:59 +00:00
meleu a5acd559d6 namespace both cheevos implementations & add a runtime setting to allow debugging 2019-03-19 21:13:10 -03:00
jdgleaver dc8ef72323 Populate crc32 and db_name fields when adding history/favourites playlist entries
playlist.c: Fix silly range check error
2019-03-09 13:58:53 +00:00
jdgleaver 8a2cd64889 Always use core display name when populating playlists 2019-03-07 16:54:46 +00:00
Brad Parker 4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00
twinaphex 7022786f34 Revert parts of menu_widgets that were causing breakage, but leave
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
Twinaphex f62e44c3e8
Merge pull request #7971 from Wiimpathy/WiiSkipCrc
Wii: Skip CRC. Avoid an unnecessary delay.
2019-02-07 18:42:13 +01:00